diff --git a/adr/ADR-40.md b/adr/ADR-40.md index 81879178..6015fe9c 100644 --- a/adr/ADR-40.md +++ b/adr/ADR-40.md @@ -92,6 +92,16 @@ By default, those URLs are used. ### Reconnection Strategies (In progress) +#### On-Demand reconnect + +Client should have a way that allows users to force reconnection process. +This can be useful for refreshing auth or rebalancing clients. + +When triggered, client will drop connection to the current server and perform standard reconnection process. +That means that all subscriptions and consumers should be resubscribed and their work resumed after successful reconnect where all reconnect options are respected. + +For most clients, that means having a `reconnect` method on the Client/Connection handle. + #### Detecting disconnection There are two methods that clients should use to detect disconnections: