Receives election candidate
SUB{agent-base-topic}/sensor/election
A live member announces its election round and agent ID on the Swarm Unit sensor.
MQTT
| QoS | 1 |
|---|---|
| retain | false |
Message message
Receives election candidate
{
"swarm-id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"agent-id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"election-round": 0,
"can-lead": true
}