nats.net icon indicating copy to clipboard operation
nats.net copied to clipboard

Full Reconnect Behavior

Open scottf opened this issue 2 years ago • 4 comments

  • [x] Server Pool

A server list pool is maintained. There is a complete implementation in Java for reference.

  • [x] Max Retries: How many times each server in the pool should be tried.
  • [x] Jitter
  • [ ] Tls Jitter
  • [ ] Server List Callback

When connecting, server returns list of URLs to other servers in the cluster. Client should store them and use when reconnecting, but users need to be able to disable this option, meaning that client ignores the returned additional URLs and use only the ones passed by a the user.

  • [ ] Ignore Discovered Urls:

Clients can ignore discovered servers instead using just bootstrap.

scottf avatar Jun 15 '22 21:06 scottf