Skip to main content

Sends election result

PUB 

{agent-base-topic}/sensor/election

The converged election result on the Swarm Unit sensor. The live candidate with the lexicographically highest agent-id wins.

MQTT​

QoS1
retainfalse

Message message​

Sends election result
{
"swarm-id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"leader-id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"election-round": 0
}