How is a highly available SparkPlug Host Application supposed to manage its STATE messages?
The Sparkplug 3.0.0 spec states that a host application must open a client connection to the MQTT server with a will message for spBv1.0/STATE/application_id and payload {"online": false, "timestamp": <millis>}, subscribe to its own spBv1.0/STATE/application_id topic, then publish to that topic with {"online": true, "timestamp": <millis>}. In a high-availability setup there would be multiple instances of the host application that each need their own client connection to the MQTT broker. When one of those instances crashes, the broker would publish its will message with "online": false, conflic
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.