Files
nats-server/test/configs/cluster.conf
2018-03-15 22:31:07 -07:00

23 lines
457 B
Plaintext

# Cluster config file
listen: 127.0.0.1:5242
cluster {
listen: 127.0.0.1:5244
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:bar@127.0.0.1:5245
nats-route://foo:bar@127.0.0.1:5246
]
}