Open yanmxa opened 1 year ago
The current MQTT protocol is just a basic implementation. Since the network link between the MQTT broker and the client might drop, we need to detect it and re-establish the connection.
Ref: https://github.com/eclipse/paho.golang/issues/26
Auto connection sample: https://github.com/eclipse/paho.golang/tree/master/autopaho
The current MQTT protocol is just a basic implementation. Since the network link between the MQTT broker and the client might drop, we need to detect it and re-establish the connection.
Ref: https://github.com/eclipse/paho.golang/issues/26
Auto connection sample: https://github.com/eclipse/paho.golang/tree/master/autopaho