Receives roster
SUB{agent-base-topic}/sensor/members
The elected Swarm Leader publishes the current Swarm Roster on change and every sensor interval. Members subscribe to it for their live set and departures, and a new leader seeds its roster from the last one it received.
MQTT
| QoS | 1 |
|---|
Message message
Receives roster
{
"swarm-id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"leader-id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"members": [
{
"agent-id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"agent-base-topic": "string",
"role": "leader"
}
],
"swarm-name": "string"
}