From 55a7abe934bf15f0b08e8d52c25b3ddc0b761873 Mon Sep 17 00:00:00 2001 From: Ginger Collison Date: Fri, 14 Feb 2020 16:59:51 -0600 Subject: [PATCH] Update README.md --- nats-server/configuration/gateways/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nats-server/configuration/gateways/README.md b/nats-server/configuration/gateways/README.md index 9a5ab2b..9472289 100644 --- a/nats-server/configuration/gateways/README.md +++ b/nats-server/configuration/gateways/README.md @@ -21,11 +21,11 @@ Gateways exist to: * reduce the number of connections required between servers * optimize the interest graph propagation -If gateways are to be used in a cluster, **all** server of this cluster need to have a gateway configuration with the **same name**. Furthermore, every gateway node needs to be able to **connect to every** other gateway node and vice versa. Everything else is considered a miss configuration. +If gateways are to be used in a cluster, **all** servers of this cluster need to have a gateway configuration with the **same name**. Furthermore, every gateway node needs to be able to **connect to every** other gateway node and vice versa. Everything else is considered a misconfiguration. ## Gateway Connections -A nats-server in a gateway role will specify a port where it will accept gateway connections. If the configuration specifies other _external_ `gateways`, the gateway will create one outbound gateway connection for each gateway in its configuration. It will also gossip other gateways it knows or discovered. Fewer _external_ `gateways` mean less configuration. Ye, the ability to discover more gateways and gateway nodes depends on these server running. This is similar to _seed server_ in cluster. It is recommended to have all _seed server_ of a cluster listed in the `gateways` section. +A nats-server in a gateway role will specify a port where it will accept gateway connections. If the configuration specifies other _external_ `gateways`, the gateway will create one outbound gateway connection for each gateway in it's configuration. It will also gossip other gateways it knows or discovered. Fewer _external_ `gateways` mean less configuration. Ye, the ability to discover more gateways and gateway nodes depends on these servers running. This is similar to _seed server_ in cluster. It is recommended to have all _seed server_ of a cluster listed in the `gateways` section. If the local cluster has three gateway nodes, this means there will be three outbound connections to each external gateway.