Files
nats-server/test/configs/cluster.conf
2015-12-16 12:36:24 -08:00

27 lines
527 B
Plaintext

# Copyright 2012-2015 Apcera Inc. All rights reserved.
# Cluster config file
host: "127.0.0.1"
port: 4242
cluster {
host: '127.0.0.1'
port: 4244
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:4245
nats-route://foo:bar@127.0.0.1:4246
]
}