You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Producer reconnect to broker after server restart.
Actual behavior
In the current code, I find that if a connection is closed, it will try to stop all producer listeners and consumer handlers registered on it. But if the producer has set the connection to conn and does not register the listener to this connection in
Expected behavior
Producer reconnect to broker after server restart.
Actual behavior
In the current code, I find that if a connection is closed, it will try to stop all producer listeners and consumer handlers registered on it. But if the producer has set the connection to
conn
and does not register the listener to this connection inpulsar-client-go/pulsar/producer_partition.go
Lines 264 to 265 in 1df5596
connection.handleSendError
pulsar-client-go/pulsar/internal/connection.go
Line 793 in 1df5596
reconnectToBroker
because no signal will sent toconnectClosedCh
.Maybe we should check the result of
RegisterListener
and callConnectionClosed
by manually?Steps to reproduce
It's not stable to reproduce
System configuration
Pulsar version: 0.7.0
The text was updated successfully, but these errors were encountered: