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