Skip to content

Commit 98681f7

Browse files
res
1 parent fbb36d3 commit 98681f7

29 files changed

Lines changed: 39 additions & 39 deletions

File tree

docs/developer/concepts/seq_num.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2602,7 +2602,7 @@ <h1 id="sequence-numbers"><a name="sequence-numbers" class="plugin-anchor" href=
26022602
<li>If possible, receivers should be able to ask for missing messages by id</li>
26032603
</ul>
26042604
<p>With NATS you can embed sequence ids in the message or include them as a token in the subject. For example, a sender can send messages to <code>updates.1</code>, <code>updates.2</code>, etc... and the subscribers can listen to <code>updates.*</code> and parse the subject to determine the sequence id.
2605-
Placing a sequence token into the subject may be desireable if the payload is unknown or embedding additional data such as a sequence number in the payload is not possible.</p>
2605+
Placing a sequence token into the subject may be desirable if the payload is unknown or embedding additional data such as a sequence number in the payload is not possible.</p>
26062606

26072607

26082608
</section>

docs/developer/events/slow.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2830,7 +2830,7 @@ <h2 id="detect-a-slow-consumer-and-check-for-dropped-messages"><a name="detect-a
28302830

28312831
<span class="token keyword">if</span> <span class="token builtin">len</span><span class="token punctuation">(</span>msgs<span class="token punctuation">)</span> <span class="token operator">==</span> <span class="token number">3</span><span class="token punctuation">:</span>
28322832
<span class="token comment"># Head of line blocking on other messages caused</span>
2833-
<span class="token comment"># by single message proccesing taking long...</span>
2833+
<span class="token comment"># by single message processing taking long...</span>
28342834
<span class="token keyword">await</span> asyncio<span class="token punctuation">.</span>sleep<span class="token punctuation">(</span><span class="token number">1</span><span class="token punctuation">)</span>
28352835

28362836
<span class="token keyword">await</span> nc<span class="token punctuation">.</span>subscribe<span class="token punctuation">(</span><span class="token string">&quot;updates&quot;</span><span class="token punctuation">,</span> cb<span class="token operator">=</span>cb<span class="token punctuation">,</span> pending_msgs_limit<span class="token operator">=</span><span class="token number">5</span><span class="token punctuation">)</span>

docs/developer/streaming/protocol.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2739,7 +2739,7 @@ <h5 id="message-structure"><a name="message-structure" class="plugin-anchor" hre
27392739
<p><a href="#protocols">Back to table</a></p>
27402740
<h4 id="unsubscriberequest"><a name="unsubscriberequest" class="plugin-anchor" href="#unsubscriberequest"><i class="fa fa-link" aria-hidden="true"></i></a>UnsubscribeRequest</h4>
27412741
<h5 id="description"><a name="description" class="plugin-anchor" href="#description"><i class="fa fa-link" aria-hidden="true"></i></a>Description</h5>
2742-
<p>The <code>UnsubscribeRequest</code> closes or unsubcribes the subscription from the specified subject. The inbox specified is the <code>inbox</code> returned from the NATS Streaming Server in the <code>SubscriptionResponse</code>. Depending on which subject this request is sent, the action will result in close (if sent to subject <code>subCloseRequests</code>) or unsubscribe (if sent to subject <code>unsubRequests</code>)</p>
2742+
<p>The <code>UnsubscribeRequest</code> closes or unsubsprecribes the subscription from the specified subject. The inbox specified is the <code>inbox</code> returned from the NATS Streaming Server in the <code>SubscriptionResponse</code>. Depending on which subject this request is sent, the action will result in close (if sent to subject <code>subCloseRequests</code>) or unsubscribe (if sent to subject <code>unsubRequests</code>)</p>
27432743
<h5 id="message-structure"><a name="message-structure" class="plugin-anchor" href="#message-structure"><i class="fa fa-link" aria-hidden="true"></i></a>Message Structure</h5>
27442744
<ul>
27452745
<li><code>clientID</code>: Client ID originally provided in the <a href="#connectrequest">ConnectRequest</a></li>

docs/gateways/gateway.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2652,7 +2652,7 @@ <h3 id="gateway-configuration-block"><a name="gateway-configuration-block" class
26522652
</tr>
26532653
<tr>
26542654
<td style="text-align:left"><code>host</code></td>
2655-
<td style="text-align:left">Interface where the gateway will listen for incomming gateway connections.</td>
2655+
<td style="text-align:left">Interface where the gateway will listen for incoming gateway connections.</td>
26562656
</tr>
26572657
<tr>
26582658
<td style="text-align:left"><code>listen</code></td>
@@ -2664,7 +2664,7 @@ <h3 id="gateway-configuration-block"><a name="gateway-configuration-block" class
26642664
</tr>
26652665
<tr>
26662666
<td style="text-align:left"><code>port</code></td>
2667-
<td style="text-align:left">Port where the gateway will listen for incomming gateway connections.</td>
2667+
<td style="text-align:left">Port where the gateway will listen for incoming gateway connections.</td>
26682668
</tr>
26692669
<tr>
26702670
<td style="text-align:left"><code>reject_unknown</code></td>

docs/nats_protocol/nats-protocol.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2758,7 +2758,7 @@ <h4 id="example"><a name="example" class="plugin-anchor" href="#example"><i clas
27582758
<p><code>SUB BAR G1 44\r\n</code></p>
27592759
<h2 id="unsub"><a name="unsub" class="plugin-anchor" href="#unsub"><i class="fa fa-link" aria-hidden="true"></i></a>UNSUB</h2>
27602760
<h4 id="description"><a name="description" class="plugin-anchor" href="#description"><i class="fa fa-link" aria-hidden="true"></i></a>Description</h4>
2761-
<p><code>UNSUB</code> unsubcribes the connection from the specified subject, or auto-unsubscribes after the specified number of messages has been received.</p>
2761+
<p><code>UNSUB</code> unsubscribes the connection from the specified subject, or auto-unsubscribes after the specified number of messages has been received.</p>
27622762
<h4 id="syntax"><a name="syntax" class="plugin-anchor" href="#syntax"><i class="fa fa-link" aria-hidden="true"></i></a>Syntax</h4>
27632763
<p><code>UNSUB <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>sid</span><span class="token punctuation">&gt;</span></span> [max_msgs]</code></p>
27642764
<p>where:</p>

docs/nats_protocol/nats-server-protocol.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2685,7 +2685,7 @@ <h4 id="example"><a name="example" class="plugin-anchor" href="#example"><i clas
26852685
<h2 id="rs"><a name="rs" class="plugin-anchor" href="#rs"><i class="fa fa-link" aria-hidden="true"></i></a><a name="SUB"></a>RS+</h2>
26862686
<h4 id="description"><a name="description" class="plugin-anchor" href="#description"><i class="fa fa-link" aria-hidden="true"></i></a>Description</h4>
26872687
<p><code>RS+</code> initiates a subscription to a subject on on a given account, optionally with a distributed queue group name and weighting factor.
2688-
Note that queue subscriptions will use RS+ for increases and descreases to queue weight except when the weighting factor is 0.</p>
2688+
Note that queue subscriptions will use RS+ for increases and decreases to queue weight except when the weighting factor is 0.</p>
26892689
<h4 id="syntax"><a name="syntax" class="plugin-anchor" href="#syntax"><i class="fa fa-link" aria-hidden="true"></i></a>Syntax</h4>
26902690
<p><strong>Subscription</strong>: <code>RS+ <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>account</span><span class="token punctuation">&gt;</span></span> <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>subject</span><span class="token punctuation">&gt;</span></span>\r\n</code></p>
26912691
<p><strong>Queue Subscription</strong>: <code>RS+ <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>account</span><span class="token punctuation">&gt;</span></span> <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>subject</span><span class="token punctuation">&gt;</span></span> <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>queue</span><span class="token punctuation">&gt;</span></span> <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>weight</span><span class="token punctuation">&gt;</span></span>\r\n</code></p>
@@ -2698,7 +2698,7 @@ <h4 id="syntax"><a name="syntax" class="plugin-anchor" href="#syntax"><i class="
26982698
</ul>
26992699
<h2 id="rs-"><a name="rs-" class="plugin-anchor" href="#rs-"><i class="fa fa-link" aria-hidden="true"></i></a><a name="UNSUB"></a>RS-</h2>
27002700
<h4 id="description"><a name="description" class="plugin-anchor" href="#description"><i class="fa fa-link" aria-hidden="true"></i></a>Description</h4>
2701-
<p><code>RS-</code> unsubcribes from the specified subject on the given account. It is sent by a server when it no longer has interest in a given subject.</p>
2701+
<p><code>RS-</code> unsubscribes from the specified subject on the given account. It is sent by a server when it no longer has interest in a given subject.</p>
27022702
<h4 id="syntax"><a name="syntax" class="plugin-anchor" href="#syntax"><i class="fa fa-link" aria-hidden="true"></i></a>Syntax</h4>
27032703
<p><strong>Subscription</strong>: <code>RS- <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>account</span><span class="token punctuation">&gt;</span></span> <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>subject</span><span class="token punctuation">&gt;</span></span>\r\n</code></p>
27042704
<p>where:</p>

docs/nats_server/clients.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2610,7 +2610,7 @@ <h3 id="testing-your-setup"><a name="testing-your-setup" class="plugin-anchor" h
26102610
[29785] 2019/05/16 08:46:13.467206 [TRC] 127.0.0.1:49805 - cid:1 - -&gt;&gt; [PONG]
26112611
</code></pre><p>If you had created a subscriber, you should notice output on the subscriber telling you that it disconnected, and reconnected. The server output above is more interesting. You can see the subscriber send a <code>CONNECT</code> protocol message and a <code>PING</code> which was responded to by the server with a <code>PONG</code>.</p>
26122612
<blockquote>
2613-
<p>You can learn more about the <a href="../nats_protocol/nats-protocol.html">NATS protocol here</a>, but more intersting than the protocol description is <a href="../nats_protocol/nats-protocol-demo.html">an interactive demo</a>.</p>
2613+
<p>You can learn more about the <a href="../nats_protocol/nats-protocol.html">NATS protocol here</a>, but more interesting than the protocol description is <a href="../nats_protocol/nats-protocol-demo.html">an interactive demo</a>.</p>
26142614
</blockquote>
26152615
<p>On a third terminal, publish your first message:</p>
26162616
<pre class="language-"><code>&gt; nats-pub hello world

docs/nats_streaming/configuring/cmdline.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2624,7 +2624,7 @@ <h1 id="command-line-arguments"><a name="command-line-arguments" class="plugin-a
26242624
-sl, --signal <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>signal</span><span class="token punctuation">&gt;</span></span>[=<span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>pid</span><span class="token punctuation">&gt;</span></span>] Send signal to nats-streaming-server process (stop, quit, reopen)
26252625
--encrypt <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>bool</span><span class="token punctuation">&gt;</span></span> Specify if server should use encryption at rest
26262626
--encryption_cipher <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>string</span><span class="token punctuation">&gt;</span></span> Cipher to use for encryption. Currently support AES and CHAHA (ChaChaPoly). Defaults to AES
2627-
--encryption_key <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>sting</span><span class="token punctuation">&gt;</span></span> Encryption Key. It is recommended to specify it through the NATS_STREAMING_ENCRYPTION_KEY environment variable instead
2627+
--encryption_key <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>string</span><span class="token punctuation">&gt;</span></span> Encryption Key. It is recommended to specify it through the NATS_STREAMING_ENCRYPTION_KEY environment variable instead
26282628

26292629
Streaming Server Clustering Options:
26302630
--clustered <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>bool</span><span class="token punctuation">&gt;</span></span> Run the server in a clustered configuration (default: false)

docs/nats_streaming/gettingstarted/changes.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2631,7 +2631,7 @@ <h2 id="version-060"><a name="version-060" class="plugin-anchor" href="#version-
26312631
<ul>
26322632
<li>Added error <code>ErrAlreadyExists</code> that <code>CreateChannel()</code> should return if channel already exists.</li>
26332633
<li><code>RecoveredState</code> has now <code>Channels</code> (instead of <code>Subs</code>) and is a map of <code>*RecoveredChannel</code> keyed by channel name.</li>
2634-
<li><code>RecoveredChannel</code> has a pointer to a <code>Channel</code> (formely <code>ChannelStore</code>) and an array of pointers to <code>RecoveredSubscription</code> objects.</li>
2634+
<li><code>RecoveredChannel</code> has a pointer to a <code>Channel</code> (formerly <code>ChannelStore</code>) and an array of pointers to <code>RecoveredSubscription</code> objects.</li>
26352635
<li><code>RecoveredSubscription</code> replaces <code>RecoveredSubState</code>.</li>
26362636
<li><code>Client</code> no longer stores a <code>UserData</code> field.</li>
26372637
<li><code>Channel</code> (formerly <code>ChannelStore</code>) no longer stores a <code>UserData</code> field.</li>

docs/nats_tools/nas/nas_conf.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2710,7 +2710,7 @@ <h4 id="store-configuration"><a name="store-configuration" class="plugin-anchor"
27102710
</tr>
27112711
<tr>
27122712
<td style="text-align:left"><code>nsc</code></td>
2713-
<td style="text-align:left">Configures an nsc read-only store. The value should be the path to an operator <em>directory</em>. Option is mutually exlusive with <code>dir</code>.</td>
2713+
<td style="text-align:left">Configures an nsc read-only store. The value should be the path to an operator <em>directory</em>. Option is mutually exclusive with <code>dir</code>.</td>
27142714
</tr>
27152715
<tr>
27162716
<td style="text-align:left"><code>readonly</code></td>

0 commit comments

Comments
 (0)