eclipse-paho / eclipse-paho/paho.mqtt.java
connectionLost not firing when client is kicked out (duplicate clientId, for example)
- Dominant language
- Java
- Stars
- 2.3k
- Forks
- 919
- PR merge metrics
- No merged PRs in 30d
Description
Please fill out the form below before submitting, thank you!
- [x] Bug exists Release Version 1.2.0 ( Master Branch)
- [?] Bug exists in Snapshot Version 1.2.1-SNAPSHOT (Develop Branch)
- [?] Bug exists in MQTTv5 Version (mqttv5-new Branch)
If this is a bug regarding the Android Service, please raise the bug here instead: https://github.com/eclipse/paho.mqtt.android/issues/new
If I connect 2 consumers with the same client id to an MQTT broker using Paho, the first one gets kick out as expected. However, the `connectionLost` callback is never called so I don't know about that until the next time I try to send a message.
How could I know that the client has been kicked out immediately?
Contributor guide
Assessment
This issue has not been assessed yet.