Open pglombardo opened 4 months ago
Currently, when using automaticReconnectWithDefaultConfig, the client may hang indefinitely if it can't reconnect to the broker.
automaticReconnectWithDefaultConfig
As pointed out (and requested by @dowhiletrue in #302), users would like the ability to configure this behavior to either:
There are three options on top of my mind: block throw continue and try to connect later Which option fits best depends on the use-case. Make the behavior configurable?
There are three options on top of my mind:
Which option fits best depends on the use-case. Make the behavior configurable?
For the existing behaviour, a work-around was provided by @SgtSilvio here.
🚀 Feature Request
Currently, when using
automaticReconnectWithDefaultConfig
, the client may hang indefinitely if it can't reconnect to the broker.As pointed out (and requested by @dowhiletrue in #302), users would like the ability to configure this behavior to either:
🔈 Motivation
🛰 Alternatives
For the existing behaviour, a work-around was provided by @SgtSilvio here.
📎 Additional context