Repository navigation
go-sparkplugb v0.3.2
Date: 2026-11-01
Previous release: v0.3.1
Fixed
- An NBIRTH delivered just after the NDEATH of the same
bdSeqno longer brings a dead edge node back online. MQTT orders messages per topic only, so a will can overtake a rebirth that was in flight when the edge node died;hostandappthen showed the node online for good. For 250 ms after an NDEATH, an NBIRTH with itsbdSeqis dropped, and a rebirth is requested 2 seconds later. A node whose NDEATH had abdSeqahead of the known session goes offline on that NBIRTH. A DBIRTH on an offline node no longer puts the device online.
Changed
- An edge node that restarts within 250 ms with the
bdSeqof its NDEATH comes online only on the rebirth that follows, about 2 seconds later. srad and SparkplugNet start again atbdSeq0, and SparkplugNet does not answer that rebirth.
Tests
hostandapp: late NBIRTHs after an NDEATH, a will before its NBIRTH, a restart with the samebdSeq, and the limits of the 250 ms.