# Cluster Server B

listen: 127.0.0.1:7224

authorization {
  user: user
  password: foo
  timeout: 2
}

cluster {
  listen: 127.0.0.1:7246
  name: "abc"

  authorization {
    user: ruser
    # bcrypt version of 'bar'
    password: $2a$10$LoRPzN3GtF2pNX5QgCBBHeUr6/zVN./RVGOu5U8SpHyg2sfzvfXji
    timeout: 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://ruser:bar@127.0.0.1:7244
  ]
}
