Learn about MQTT server disconnection
- Last UpdatedDec 24, 2024
- 1 minute read
The connector checks every 30 seconds to see if it has lost connection to a server. If it has been disconnected, the connector will attempt to reconnect every 30 seconds until successful.
If you complete the primary host id field in the data source, the connector will set its STATE to ONLINE when it connects, and in its death certificate, will set its STATE to OFFLINE.
For reference information, see section 8 Sparkplug MQTT Session Management and Message Flow in the Sparkplug Specification Sparkplug MQTT Topic & Payload Definition Version 2.1.