ClusterGroupServiceLeader

ClusterGroupServiceLeader
ClusterGroupServiceLeader

Each cluster node entity provides multiple services. When working in a group, each service can elect a cluster node entity to be the leader of the service. Leader election helps in coordination of the service. The leader holds a renewable lease on the leadership for a fixed period of time. The lease version is incremented every time the leadership lease is renewed. This type contains the attributes of a leader.

JSON Example
{
    "service_name": "string",
    "lease_version": 0,
    "leader_uuid": "string"
}
string
service_name
Optional

Name of the service

integer As int64 As int64
lease_version
Optional

Number of times the lease has been renewed

string
leader_uuid
Optional

Member UUID of the leader