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
{{ message }}
Repository navigation
mqtt-kafka: reusing a client id right after disconnect can briefly fail to connect #3103
Connecting with a client id immediately after the previous connection with the same client id disconnected can briefly fail (the new connection is refused or closed) before succeeding on retry. Observed against the mqtt.kafka.proxy example with MQTT 5 clients.
Expected
A client id whose previous connection has closed can reconnect immediately. The session for that client id is released as part of disconnect handling, or a new connection waits for release rather than failing.
To investigate
Session release ordering on DISCONNECT/abort versus a new CONNECT for the same client id in the mqtt server and mqtt-kafka session handling (session topic, will, expiry signals).
Reproduce with a spec/IT of back-to-back CONNECT/DISCONNECT/CONNECT for the same client id before fixing (test-first). Determine whether this is the same root cause as the concurrent-connect 0x8E issue, and say so if it is.
Activity