Skip to main content

Sends election candidate

PUB 

{agent-base-topic}/sensor/election

A live member announces its election round and agent ID on the Swarm Unit sensor.

MQTT​

QoS1
retainfalse

Message message​

Sends election candidate
{
"swarm-id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"agent-id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"election-round": 0,
"can-lead": true
}