mirror of
https://github.com/hanzoai/pubsub.git
synced 2026-10-30 15:06:26 +00:00
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]>
26 lines
487 B
Plaintext
26 lines
487 B
Plaintext
# Cluster config file
|
|
|
|
listen: 127.0.0.1:5242
|
|
|
|
cluster {
|
|
listen: 127.0.0.1:5244
|
|
name: xyz
|
|
|
|
authorization {
|
|
user: route_user
|
|
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://foo:[email protected]:5245
|
|
nats-route://foo:[email protected]:5246
|
|
]
|
|
}
|
|
|
|
no_sys_acc: true
|