Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

If that primary host ID is not set, the Edge Node will not subscribe on these notification topics and will not receive any of these state notifications. In this case, data will only be buffered where it loses connection to the MQTT server not if the main application loses connection to the MQTT server. 

Changes to the STATE message in the Sparkplug v3.0.0 Specification

MQTT Modules

For the MQTT Transmission (Edge Node) and MQTT Engine (main application) modules, the Primary Host ID is the setting used to identify the main application that is receiving the MQTT data to guarantee that we don't lose the data and ultimately deliver it to the application.

Changes to the STATE message in the Sparkplug v3.0.0 Specification

Understanding Servers and Sets

ADD PHID per SETS

Note
MQTT Transmission and MQTT Engine support server sets where each set represents a logical grouping of MQTT servers and the Primary Host ID is configurable on a Server Set basis 

MQTT Engine

When configured, MQTT Engine will publish it's connection state on a topic that contains the Primary Host ID.

...

When MQTT Transmission is notified that MQTT Engine has back 'online', it will publish all BIRTH messages along with the stored data.


Note

If the primary host Primary Host ID is not set:

  • MQTT Transmission will not subscribe on the notification topics and not receive any 'state' notifications to trigger the data storage
  • MQTT Engine tags that were set to Stale on a disconnect to the server will remain staled after a re-connect until either:
    • Data changes at the Edge which will result in a REBIRTH request from MQTT Engine
    • An MQTT Transmission refresh is performed forcing BIRTH messages to be published

...