Get cluster topology
GET/topology
Obtains the current topology of the cluster the gateway is part of.
Request
Responses
- 200
- 500
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"
}
An internal error occurred while processing the request.
- application/problem+json
- Schema
- Example (from schema)
Schema
Default value: about:blank
A URI identifying the problem type.
A summary of the problem type.
Possible values: >= 400
and <= 600
The HTTP status code for this problem.
An explanation of the problem in more detail.
A URI identifying the origin of the problem.
{
"type": "about:blank",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string"
}