You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Just wanted to share some of my findings while trying to implement a Primary Host compliant with 3.0 Specification:
In the current version of the code The payload returned by GetSparkPlugStateMessage defaults to UtcNow, while in the 3.0 Specification, The application may need to send different timestamp in the State message mainly when republishing the Primary Host BIRTH message:
For (3) I actually meant Spec version 2.2 and below.
The current implementation of GetSparkplugStateMessageB returns the STATE payload in JSON format as specified in 3.0. This breaks compatibility with 2.2 and below which uses UTF8 string "ONLINE" or "OFLINE" for STATE message in addition the state topics being different.
For (3) I actually meant Spec version 2.2 and below. The current implementation of GetSparkplugStateMessageB returns the STATE payload in JSON format as specified in 3.0. This breaks compatibility with 2.2 and below which uses UTF8 string "ONLINE" or "OFLINE" for STATE message in addition the state topics being different.
I will include this soon. Seems like a legit thing to do so. Especially, as it's not a big thing as only the state message has changed (For now).
Just wanted to share some of my findings while trying to implement a Primary Host compliant with 3.0 Specification:
The text was updated successfully, but these errors were encountered: