...
Code Block |
---|
|
{
"topic": {
"namespace": "spBv1.0",
"edgeNodeDescriptor": "G1/E1",
"groupId": "G1",
"edgeNodeId": "E1",
"deviceId": "D1"
"type": "DDATA"
},
"payload": {
"timestamp": 1638223663812,
"metrics": [
{
"name": "Tag 1",
"timestamp": 1638223662800,
"dataType": "INT32",
"value": 10
}
],
"seq": 3
}
} |
NDEATH
The metrics array for the Edge Node DEATH message will contain:
- A Birth/Death sequence number to track the Sparkplug session of the Edge client
Code Block |
---|
title | Edge Node Death message |
---|
|
{
"topic": {
"namespace": "spBv1.0",
"edgeNodeDescriptor": "G1/E1",
"groupId": "G1",
"edgeNodeId": "E1"
"type": "NDEATH"
},
"payload": {
"timestamp": 1638223073190,
"metrics": [
{
"name": "bdSeq",
"timestamp": 1638223073187,
"dataType": "Int64",
"value": 5
}
],
"seq": 0
}
} |
DDEATH