Closed Neo1975 closed 3 years ago
Thank you, Will merge your PR
@Neo1975 @kubemq I am still facing this problem, but it's probably because I haven't understood how to manage the client close on error. (same scenarios like starting receivers when server is down, or when server goes down)
Do you have any example?
Hi, I'm not sure this is a bug but I have some problem trying to use reconnection feature.
I'm testing two different situation: 1- start a receiver without an instance of kubemq 2- start a receiver with an instance of kubemq and shoutdown it after connection of receiver.
Looking in the code
isClosed
can become true only if eventvalue.onClose
is triggered that happens only if:In my previous scenario instead only
is triggered.
I also tried to call
client.close()
in my callbackcb
, without success.Looking better deeply in the code I think that
stream
never emit aclose
.Can you help me?