Interface where the gateway will listen for incoming route connections.
Port where the gateway will listen for incoming route connections.
Name of the cluster (recommended for NATS +v2.2)
tls configuration map for securing the clustering connection.
verify is always enabled and
cert_file is used for client and server. See for certificate pitfalls.
<host>:<port> to advertise how this server can be contacted by other cluster members. This is useful in setups with NAT. When using TLS this is important to set to control the hostname that clients will use when discovering the route since by default this will be an IP, otherwise TLS hostname verification may fail with an IP SANs error.
When set to 'true', the server will not send or gossip its client URLs to other servers in the cluster and will not tell its client about the other servers' client URLs.
A list of other servers (URLs) to cluster with. Self-routes are ignored. Should authentication via
password be required, specify them as part of the URL.
After how many failed connect attempts to give up establishing a connection to a discovered route. Default is
0, do not retry. When enabled, attempts will be made once a second. This, does not apply to explicitly configured routes.
Authorization map for configuring cluster routes. When a single
password is used, it defines the authentication mechanism this server expects, and how this server will authenticate itself when establishing a connection to a discovered route. This will not be used for routes explicitly listed in
routes and therefore have to be provided as part of the URL. With this authentication mode, either use the same credentials throughout the system or list every route explicitly on every server. If the
tls configuration map specifies
verify_and_map only provide the expected
username. Here different certificates can be used, but they have to map to the same
username. The authorization map also allows for
timeout which is honored but
token configuration are not supported and will prevent the server from starting. The
permissions block is ignored.