eclipse-sparkplug / sparkplug

Sparkplug
Eclipse Public License 2.0
109 stars 39 forks source link

TCK Host Profile Message Ordering: Sending template definitions in the DBIRTH message #468

Open joshwolf-canary opened 1 year ago

joshwolf-canary commented 1 year ago

What happened?

While running the TCK Host Profile Message Ordering test our host application received template definitions in the DBIRTH message. This caused our application to trigger a rebirth message to the auto generated TCK edge node. It didn't affect the test results, so it's a minor issue, but with the current version of the spec the definitions need to be in the NBIRTH messages.

What is the product or software this issue was discovered with?

Current version 3.0.0 of the Sparkplug TCK.

What exact steps need to be performed to reproduce the problem?

Setup the TCK to run with HiveMQ community edition with the steps from this link: https://www.hivemq.com/article/starter-guide-sparkplug-3-0-certification-technology-compatibility-kit-tck-industry-40/

Configure our host application and ran the Message Ordering Test. Reviewed logs in our host application and discovered the template definitions in the DBIRTH message. Confirmed with MQTT.fx. Attaching JSON text file with the DBIRTH me TCK DBIRTH Message JSON.txt ssage contents and the template definitions.

Is this related to a Sparkplug Listing request? If so, link the issue from https://github.com/eclipse-sparkplug/sparkplug.listings here.

No response

Version

3.0.0 (Default)

Accept EFTL Terms