| 1 |
# Cluster config file |
| 2 |
|
| 3 |
listen: 127.0.0.1:5242 |
| 4 |
|
| 5 |
cluster { |
| 6 |
listen: 127.0.0.1:5244 |
| 7 |
name: xyz |
| 8 |
|
| 9 |
authorization { |
| 10 |
user: route_user |
| 11 |
password: top_secret |
| 12 |
timeout: 0.5 |
| 13 |
} |
| 14 |
|
| 15 |
# Routes are actively solicited and connected to from this server. |
| 16 |
# Other servers can connect to us if they supply the correct credentials |
| 17 |
# in their routes definitions from above. |
| 18 |
|
| 19 |
routes = [ |
| 20 |
nats-route://foo:[email protected]:5245 |
| 21 |
nats-route://foo:[email protected]:5246 |
| 22 |
] |
| 23 |
} |
| 24 |
|
| 25 |
no_sys_acc: true |