Skip to main content

Sends leader signal

PUB 

{agent-base-topic}/sensor/leader

Every agent with Swarm intent subscribes to this topic; a leader yields to a higher-ID rival's Leader Signal, and members use its staleness to detect a dead leader. The Swarm Unit Leader Signal names the current Swarm Leader directly, including the leader's base topic and the start of the current leadership interval. It is published on change and every sensor interval.

MQTT​

QoS1

Message message​

Sends leader signal
{
"leader-id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"leader-base-topic": "string",
"since": "2024-07-29T15:51:28.071Z"
}