From 080089af4bd134048bcb0de4f1b34000fa710229 Mon Sep 17 00:00:00 2001 From: Ginger Collison Date: Thu, 23 May 2019 13:12:27 -0500 Subject: [PATCH] Update configuration.md --- nats_streaming/clustering/configuration.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/nats_streaming/clustering/configuration.md b/nats_streaming/clustering/configuration.md index 6160294..cd519d7 100644 --- a/nats_streaming/clustering/configuration.md +++ b/nats_streaming/clustering/configuration.md @@ -21,8 +21,7 @@ nats-streaming-server -store file -dir store-d -clustered -nats_server nats://lo The equivalent clustering configurations can be specified in a configuration file under the `cluster` group. See the [Configuring](#configuring) section for more information. Here is an example of a cluster of 3 nodes using the following configuration files. The nodes are running on `host1`, `host2` and `host3` respectively. - -NOTE 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. +**NOTE** 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. On `host1`, 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 `host2` and `host3` cluster port. @@ -92,4 +91,4 @@ streaming { } ``` -In the example above, the configuration assumes no existing NATS Cluster and therefore configure the NATS routes between each node. Should you want to use an existing NATS cluster, do not include the "NATS specific configuration" section, instead, add `nats_server_url` in the `streaming` section to point to the NATS server you want. \ No newline at end of file +In the example above, the configuration assumes no existing NATS Cluster and therefore configure the NATS routes between each node. Should you want to use an existing NATS cluster, do not include the "NATS specific configuration" section, instead, add `nats_server_url` in the `streaming` section to point to the NATS server you want.