Files
nats-server/server/configs/cluster.conf
Tyler Treat ca1b3485cb Fix "error opening file" errors in tests for Windows
This sort of just punts on the problem by not creating log files in the
tests, but it seemed like the simplest solution.
2017-07-10 12:21:01 -05:00

37 lines
617 B
Plaintext

# Cluster config file
port: 4242
net: localhost
authorization {
user: derek
password: bella
timeout: 1
}
pid_file: '/tmp/nats_cluster_test.pid'
cluster {
host: 127.0.0.1
port: 4244
authorization {
user: route_user
password: top_secret
timeout: 1
}
# 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@localhost:4245
nats-route://foo:bar@localhost:4246
]
no_advertise: true
connect_retries: 2
}