Files
Derek Collison 79cb137fe2 Cluster names are now required.
Added cluster names as required for prep work for clustered JetStream. System can dynamically pick a cluster name and settle on one even in large clusters.

Signed-off-by: Derek Collison <[email protected]>
2020-06-12 15:48:38 -07:00

23 lines
432 B
Plaintext

# Cluster Server A
listen: 127.0.0.1:7222
cluster {
listen: 127.0.0.1:7244
name: "abc"
authorization {
user: ruser
password: top_secret
timeout: 0.5
}
# Routes are actively solicited and connected to from this server.
# Other servers can connect to us if they supply the correct credentials
# in their routes definitions from above.
routes = [
nats-route://ruser:[email protected]:7246
]
}