Get cluster topology
GET/topology
Obtains the current topology of the cluster the gateway is part of.
Request
Responses
- 200
Obtains the current topology of the cluster the gateway is part of.
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- Array [
- ]
- ]
brokers object[]nullable
A list of brokers that are part of this cluster.
The unique (within a cluster) node ID for the broker.
The hostname for reaching the broker.
The port for reaching the broker.
partitions object[]
A list of partitions managed or replicated on this broker.
The unique ID of this partition.
Possible values: [leader
, follower
, inactive
]
Describes the Raft role of the broker for a given partition.
Possible values: [healthy
, unhealthy
, dead
]
Describes the current health of the partition.
The broker version.
The number of brokers in the cluster.
The number of partitions are spread across the cluster.
The configured replication factor for this cluster.
The version of the Zeebe Gateway.
{
"brokers": [
{
"nodeId": 0,
"host": "string",
"port": 0,
"partitions": [
{
"partitionId": 0,
"role": "leader",
"health": "healthy"
}
],
"version": "string"
}
],
"clusterSize": 0,
"partitionsCount": 0,
"replicationFactor": 0,
"gatewayVersion": "string"
}