1
0
mirror of https://github.com/taigrr/nats.docs synced 2025-01-18 04:03:23 -08:00

updating docs

This commit is contained in:
ainsley
2019-09-04 17:03:24 -05:00
parent 41f75d6612
commit 5969e128ab
160 changed files with 64854 additions and 10315 deletions

View File

@@ -1658,10 +1658,9 @@
<ul class="articles">
</li>
<li class="chapter " data-level="6.1.1" data-path="../relation-to-nats.html">
<li class="chapter " data-level="6.2" data-path="../relation-to-nats.html">
<a href="../relation-to-nats.html">
@@ -1674,12 +1673,7 @@
</li>
</ul>
</li>
<li class="chapter " data-level="6.2" data-path="../client-connections.html">
<li class="chapter " data-level="6.3" data-path="../client-connections.html">
<a href="../client-connections.html">
@@ -1692,7 +1686,7 @@
</li>
<li class="chapter " data-level="6.3" data-path="../channels/channels.html">
<li class="chapter " data-level="6.4" data-path="../channels/channels.html">
<a href="../channels/channels.html">
@@ -1706,7 +1700,7 @@
<ul class="articles">
<li class="chapter " data-level="6.3.1" data-path="../channels/message-log.html">
<li class="chapter " data-level="6.4.1" data-path="../channels/message-log.html">
<a href="../channels/message-log.html">
@@ -1719,7 +1713,7 @@
</li>
<li class="chapter " data-level="6.3.2" data-path="../channels/subscriptions/subscriptions.html">
<li class="chapter " data-level="6.4.2" data-path="../channels/subscriptions/subscriptions.html">
<a href="../channels/subscriptions/subscriptions.html">
@@ -1733,7 +1727,7 @@
<ul class="articles">
<li class="chapter " data-level="6.3.2.1" data-path="../channels/subscriptions/regular.html">
<li class="chapter " data-level="6.4.2.1" data-path="../channels/subscriptions/regular.html">
<a href="../channels/subscriptions/regular.html">
@@ -1746,7 +1740,7 @@
</li>
<li class="chapter " data-level="6.3.2.2" data-path="../channels/subscriptions/durable.html">
<li class="chapter " data-level="6.4.2.2" data-path="../channels/subscriptions/durable.html">
<a href="../channels/subscriptions/durable.html">
@@ -1759,7 +1753,7 @@
</li>
<li class="chapter " data-level="6.3.2.3" data-path="../channels/subscriptions/queue-group.html">
<li class="chapter " data-level="6.4.2.3" data-path="../channels/subscriptions/queue-group.html">
<a href="../channels/subscriptions/queue-group.html">
@@ -1772,7 +1766,7 @@
</li>
<li class="chapter " data-level="6.3.2.4" data-path="../channels/subscriptions/redelivery.html">
<li class="chapter " data-level="6.4.2.4" data-path="../channels/subscriptions/redelivery.html">
<a href="../channels/subscriptions/redelivery.html">
@@ -1795,7 +1789,7 @@
</li>
<li class="chapter " data-level="6.4" data-path="../store-interface.html">
<li class="chapter " data-level="6.5" data-path="../store-interface.html">
<a href="../store-interface.html">
@@ -1808,7 +1802,7 @@
</li>
<li class="chapter " data-level="6.5" data-path="../store-encryption.html">
<li class="chapter " data-level="6.6" data-path="../store-encryption.html">
<a href="../store-encryption.html">
@@ -1821,7 +1815,7 @@
</li>
<li class="chapter " data-level="6.6" data-path="clustering.html">
<li class="chapter " data-level="6.7" data-path="clustering.html">
<a href="clustering.html">
@@ -1835,7 +1829,7 @@
<ul class="articles">
<li class="chapter " data-level="6.6.1" data-path="supported-stores.html">
<li class="chapter " data-level="6.7.1" data-path="supported-stores.html">
<a href="supported-stores.html">
@@ -1848,7 +1842,7 @@
</li>
<li class="chapter active" data-level="6.6.2" data-path="configuration.html">
<li class="chapter active" data-level="6.7.2" data-path="configuration.html">
<a href="configuration.html">
@@ -1861,7 +1855,7 @@
</li>
<li class="chapter " data-level="6.6.3" data-path="auto-configuration.html">
<li class="chapter " data-level="6.7.3" data-path="auto-configuration.html">
<a href="auto-configuration.html">
@@ -1874,7 +1868,7 @@
</li>
<li class="chapter " data-level="6.6.4" data-path="containers.html">
<li class="chapter " data-level="6.7.4" data-path="containers.html">
<a href="containers.html">
@@ -1892,7 +1886,7 @@
</li>
<li class="chapter " data-level="6.7" data-path="../fault-tolerance/ft.html">
<li class="chapter " data-level="6.8" data-path="../fault-tolerance/ft.html">
<a href="../fault-tolerance/ft.html">
@@ -1906,7 +1900,7 @@
<ul class="articles">
<li class="chapter " data-level="6.7.1" data-path="../fault-tolerance/active-server.html">
<li class="chapter " data-level="6.8.1" data-path="../fault-tolerance/active-server.html">
<a href="../fault-tolerance/active-server.html">
@@ -1919,7 +1913,7 @@
</li>
<li class="chapter " data-level="6.7.2" data-path="../fault-tolerance/standby-server.html">
<li class="chapter " data-level="6.8.2" data-path="../fault-tolerance/standby-server.html">
<a href="../fault-tolerance/standby-server.html">
@@ -1932,7 +1926,7 @@
</li>
<li class="chapter " data-level="6.7.3" data-path="../fault-tolerance/shared-state.html">
<li class="chapter " data-level="6.8.3" data-path="../fault-tolerance/shared-state.html">
<a href="../fault-tolerance/shared-state.html">
@@ -1945,7 +1939,7 @@
</li>
<li class="chapter " data-level="6.7.4" data-path="../fault-tolerance/failover.html">
<li class="chapter " data-level="6.8.4" data-path="../fault-tolerance/failover.html">
<a href="../fault-tolerance/failover.html">
@@ -1963,7 +1957,7 @@
</li>
<li class="chapter " data-level="6.8" data-path="../partitioning.html">
<li class="chapter " data-level="6.9" data-path="../partitioning.html">
<a href="../partitioning.html">
@@ -1976,6 +1970,38 @@
</li>
<li class="chapter " data-level="6.10" data-path="../monitoring/monitoring.html">
<a href="../monitoring/monitoring.html">
Monitoring
</a>
<ul class="articles">
<li class="chapter " data-level="6.10.1" data-path="../monitoring/endpoints.html">
<a href="../monitoring/endpoints.html">
Endpoints
</a>
</li>
</ul>
</li>
@@ -2094,7 +2120,20 @@
<li class="chapter " data-level="8.1" data-path="../gettingstarted/install.html">
<li class="chapter " data-level="8.1" data-path="../gettingstarted/changes.html">
<a href="../gettingstarted/changes.html">
Important Changes
</a>
</li>
<li class="chapter " data-level="8.2" data-path="../gettingstarted/install.html">
<a href="../gettingstarted/install.html">
@@ -2107,7 +2146,7 @@
</li>
<li class="chapter " data-level="8.2" data-path="../gettingstarted/run.html">
<li class="chapter " data-level="8.3" data-path="../gettingstarted/run.html">
<a href="../gettingstarted/run.html">
@@ -2120,9 +2159,9 @@
</li>
<li class="chapter " data-level="8.3" data-path="../gettingstarted/configuring.html">
<li class="chapter " data-level="8.4" data-path="../configuring/configuring.html">
<a href="../gettingstarted/configuring.html">
<a href="../configuring/configuring.html">
Configuring
@@ -2131,11 +2170,179 @@
<ul class="articles">
<li class="chapter " data-level="8.4.1" data-path="../configuring/cmdline.html">
<a href="../configuring/cmdline.html">
Command line arguments
</a>
</li>
<li class="chapter " data-level="8.4" data-path="../gettingstarted/tls.html">
<li class="chapter " data-level="8.4.2" data-path="../configuring/cfgfile.html">
<a href="../gettingstarted/tls.html">
<a href="../configuring/cfgfile.html">
Configuration file
</a>
</li>
<li class="chapter " data-level="8.4.3" data-path="../configuring/storelimits.html">
<a href="../configuring/storelimits.html">
Store Limits
</a>
<ul class="articles">
<li class="chapter " data-level="8.4.3.1" data-path="../configuring/storelimits.html">
<a href="../configuring/storelimits.html#limits-inheritance">
Limits inheritance
</a>
</li>
</ul>
</li>
<li class="chapter " data-level="8.4.4" data-path="../configuring/persistence.html">
<a href="../configuring/persistence.html">
Persistence
</a>
<ul class="articles">
<li class="chapter " data-level="8.4.4.1" data-path="../configuring/filestore.html">
<a href="../configuring/filestore.html">
File Store
</a>
<ul class="articles">
<li class="chapter " data-level="8.4.4.1.1" data-path="../configuring/filestore.html">
<a href="../configuring/filestore.html#options">
Options
</a>
</li>
<li class="chapter " data-level="8.4.4.1.2" data-path="../configuring/filestore.html">
<a href="../configuring/filestore.html#recovery-errors">
Recovery Errors
</a>
</li>
</ul>
</li>
<li class="chapter " data-level="8.4.4.2" data-path="../configuring/sqlstore.html">
<a href="../configuring/sqlstore.html">
SQL Store
</a>
<ul class="articles">
<li class="chapter " data-level="8.4.4.2.1" data-path="../configuring/sqlstore.html">
<a href="../configuring/sqlstore.html#read-and-write-timeouts">
Read and Write Timeouts
</a>
</li>
<li class="chapter " data-level="8.4.4.2.2" data-path="../configuring/sqlstore.html">
<a href="../configuring/sqlstore.html#options">
Options
</a>
</li>
</ul>
</li>
</ul>
</li>
<li class="chapter " data-level="8.4.5" data-path="../configuring/tls.html">
<a href="../configuring/tls.html">
Securing
@@ -2144,6 +2351,43 @@
<ul class="articles">
<li class="chapter " data-level="8.4.5.1" data-path="../configuring/tls.html">
<a href="../configuring/tls.html#authenticating-users">
Authenticating Users
</a>
</li>
<li class="chapter " data-level="8.4.5.2" data-path="../configuring/tls.html">
<a href="../configuring/tls.html#using-tls">
TLS
</a>
</li>
</ul>
</li>
</ul>
</li>
<li class="chapter " data-level="8.5" data-path="../gettingstarted/process-signaling.html">
@@ -2198,38 +2442,6 @@
</li>
<li class="chapter " data-level="8.9" data-path="../monitoring/monitoring.html">
<a href="../monitoring/monitoring.html">
Monitoring
</a>
<ul class="articles">
<li class="chapter " data-level="8.9.1" data-path="../monitoring/endpoints.html">
<a href="../monitoring/endpoints.html">
Endpoints
</a>
</li>
</ul>
</li>
@@ -2350,7 +2562,7 @@ nats-streaming-server -store file -dir store-b -clustered -cluster_node_id b -cl
nats-streaming-server -store file -dir store-c -clustered -cluster_node_id c -cluster_peers a,b -nats_server nats://localhost:4222
</code></pre><p>Note that once a leader is elected, subsequent servers can be started without providing the cluster configuration. They will automatically join the cluster. Similarly, the cluster node ID does not need to be provided as one will be automatically assigned. As long as the file store is used, this ID will be recovered on restart.</p>
<pre class="language-"><code>nats-streaming-server -store file -dir store-d -clustered -nats_server nats://localhost:4222
</code></pre><p>The equivalent clustering configurations can be specified in a configuration file under the <code>cluster</code> group. See the <a href="https://github.com/nats-io/nats-streaming-server#configuring" target="_blank">README Configuring</a> section for more information.</p>
</code></pre><p>The equivalent clustering configurations can be specified in a configuration file under the <code>cluster</code> group. See the <a href="../configuring/configuring.html">Configuring</a> section for more information.</p>
<p>Here is an example of a cluster of 3 nodes using the following configuration files. The nodes are running on <code>host1</code>, <code>host2</code> and <code>host3</code> respectively.
<strong>NOTE</strong> If you have an existing NATS cluster and want to run NATS Streaming Cluster on top of that, see details at the end of this section.</p>
<p>On <code>host1</code>, this configuration indicates that the server will accept client connections on port 4222. It will accept route connections on port 6222. It creates 2 routes, to <code>host2</code> and <code>host3</code> cluster port.</p>
@@ -2454,7 +2666,7 @@ streaming {
<script>
var gitbook = gitbook || [];
gitbook.push(function() {
gitbook.page.hasChanged({"page":{"title":"Configuration","level":"6.6.2","depth":2,"next":{"title":"Auto Configuration","level":"6.6.3","depth":2,"path":"nats_streaming/clustering/auto-configuration.md","ref":"nats_streaming/clustering/auto-configuration.md","articles":[]},"previous":{"title":"Supported Stores","level":"6.6.1","depth":2,"path":"nats_streaming/clustering/supported-stores.md","ref":"nats_streaming/clustering/supported-stores.md","articles":[]},"dir":"ltr"},"config":{"plugins":["prism","-sharing","-highlight","include-html","toggle-chapters","anchors","edit-link"],"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"prism":{"lang":{"ascii":"markup","text":"markup"}},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"include-html":{},"fontsettings":{"theme":"white","family":"sans","size":2},"edit-link":{"label":"edit","base":"https://github.com/nats-io/docs/edit/master"},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false},"anchors":{},"toggle-chapters":{}},"theme":"default","author":"The NATS Maintainers","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"NATS","gitbook":"*","description":"Administrative, developer and conceptual documentation for the NATS messaging system."},"file":{"path":"nats_streaming/clustering/configuration.md","mtime":"2019-06-19T14:28:09.271Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2019-08-23T18:06:05.023Z"},"basePath":"../..","book":{"language":""}});
gitbook.page.hasChanged({"page":{"title":"Configuration","level":"6.7.2","depth":2,"next":{"title":"Auto Configuration","level":"6.7.3","depth":2,"path":"nats_streaming/clustering/auto-configuration.md","ref":"nats_streaming/clustering/auto-configuration.md","articles":[]},"previous":{"title":"Supported Stores","level":"6.7.1","depth":2,"path":"nats_streaming/clustering/supported-stores.md","ref":"nats_streaming/clustering/supported-stores.md","articles":[]},"dir":"ltr"},"config":{"plugins":["prism","-sharing","-highlight","include-html","toggle-chapters","anchors","edit-link"],"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"prism":{"lang":{"ascii":"markup","text":"markup"}},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"include-html":{},"fontsettings":{"theme":"white","family":"sans","size":2},"edit-link":{"label":"edit","base":"https://github.com/nats-io/docs/edit/master"},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false},"anchors":{},"toggle-chapters":{}},"theme":"default","author":"The NATS Maintainers","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"NATS","gitbook":"*","description":"Administrative, developer and conceptual documentation for the NATS messaging system."},"file":{"path":"nats_streaming/clustering/configuration.md","mtime":"2019-09-04T22:00:05.718Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2019-09-04T22:00:20.568Z"},"basePath":"../..","book":{"language":""}});
});
</script>
</div>