mirror of
https://github.com/gogrlx/nats-server.git
synced 2026-04-02 11:48:43 -07:00
Currently, temporary test files and directories are written in lots of different paths within the OS's temp dir. This makes it hard to know which files are from nats-server and which are unrelated. This in turn makes it hard to clean up nats-server test files.
37 lines
645 B
Plaintext
37 lines
645 B
Plaintext
# Cluster config file
|
|
|
|
port: 4242
|
|
net: 127.0.0.1
|
|
|
|
authorization {
|
|
user: derek
|
|
password: porkchop
|
|
timeout: 1
|
|
}
|
|
|
|
pid_file: '/tmp/nats-server/nats_cluster_test.pid'
|
|
|
|
cluster {
|
|
host: 127.0.0.1
|
|
port: 4244
|
|
name: "abc"
|
|
|
|
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@127.0.0.1:4245
|
|
nats-route://foo:bar@127.0.0.1:4246
|
|
]
|
|
|
|
no_advertise: true
|
|
connect_retries: 2
|
|
}
|