Reputation: 57
I am using Paho MQTT (java) to subscribe (QoS 2) to VerneMQ broker. I have a device which constantly (every 2 seconds) publishes data to broker. Everything works fine until after 3 - 4 hours, my MQTT Subscriber program does not receive anything, but it is still connected and is running (I will name this condition as sleep).
However, when there is another MQTT Subscriber subscribing to the same topic, the sleeping MQTT Subscriber program start to receives message again. If I have at least 2 subscribers subscribing on every topics I have, it works fine. Any solutions on this situation?
Upvotes: 0
Views: 1014