Versions Compared

Key

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

...

  • MQTT Sparkplug BIRTH and DEATH message lengths
  • Slow tag pacing  

MQTT Sparkplug BIRTH and DEATH message lengths

As required by the Sparkplug Specification data is published on the are the NBIRTH, NDEATH, DBIRTH and DDEATH topics.

The payloads for each of these messages include every metric the device will ever report on. At a minimum these metrics must include the name, datatype and current value.

If you have large number of tags in a single folder, these messages can easily exceed the 128KB limit.

Slow tag pacing

Tag pacing is the buffer period for outgoing Transmission messages which allows tag change events to be buffered to reduce the number of generated MQTT messages. If you set this pacing too slow, with a large volume of tag changes, messages can easily exceed the 128KB limit. 

How to find your largest message size

To find the largest published message size, navigate to the MQTT Transmission in the Ignition Designer Tag Browser. Drill down to your Transmitter and you should see the ‘Largest Mesg Xmit’ tag as shown below.

Image Removed

Resolution

...

  • This typically means dividing tags up across ‘Device level folders’ so the size of each NBIRTH, NDEATH, DBIRTH or DDEATH message is less than 128KB


...

Review the How can I reduce the message size published by MQTT Transmission tutorial for steps to reduce the published message size.


Unable to Resolve?

If the troubleshooting tips did not help you resolve your issues, please open a ticket with Support making sure to include the MQTT Engine or MQTT Transmission logs as appropriate.  

...