Closed joachimglink closed 3 months ago
Starting with jnats 2.17.7 duplicate "reconnect" events are fired if a consumer reconnects.
Only one "reconnect" event for the connection should be fired.
jnats 2.17.7
No response
In previous versions (I checked 2.17.1 ... 2.17.6), only one such "connection reconnected" event was fired.
We have custom logic based on the reconnect event and we would prefer to be only informed once per reconnect.
@joachimglink I fixed this in #1151
Fixed in #1151
Observed behavior
Starting with jnats 2.17.7 duplicate "reconnect" events are fired if a consumer reconnects.
Expected behavior
Only one "reconnect" event for the connection should be fired.
Server and client version
jnats 2.17.7
Host environment
No response
Steps to reproduce
In previous versions (I checked 2.17.1 ... 2.17.6), only one such "connection reconnected" event was fired.
We have custom logic based on the reconnect event and we would prefer to be only informed once per reconnect.