1
0
mirror of https://github.com/taigrr/nats.docs synced 2025-01-18 04:03:23 -08:00
Matthias Hanel 4a8299c45e Reword and add links
Signed-off-by: Matthias Hanel <mh@synadia.com>
2020-02-05 18:20:39 -05:00
..
2020-02-05 18:20:39 -05:00
2019-12-18 22:09:45 +00:00
2020-02-05 18:20:39 -05:00
2020-02-05 18:20:39 -05:00
2020-02-05 18:20:39 -05:00
2020-02-05 18:20:39 -05:00
2020-02-05 18:20:39 -05:00

Automatic Reconnections

Most, if not all, of the client libraries will reconnect to the NATS system if they are disconnected for any reason. The reconnect logic can differ by library, so check your client library's documentation.

In general, the client will try to re-connect to one of the servers it knows about, either through the URLs provided in the connect call or the URLs provided by the NATS system during erlier connects. This feature allows NATS applications and the NATS system itself to self heal and reconfigure itself with no additional configuration or intervention. The library may have several options to help control reconnect behavior, notify about recennect state and inform about new server.