Class TopologyImpl
java.lang.Object
io.camunda.zeebe.client.impl.response.TopologyImpl
- All Implemented Interfaces:
Topology
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
TopologyImpl
-
-
Method Details
-
getBrokers
- Specified by:
getBrokers
in interfaceTopology
- Returns:
- all (known) brokers of the cluster
-
getClusterSize
public int getClusterSize()- Specified by:
getClusterSize
in interfaceTopology
- Returns:
- the size of the Zeebe broker cluster
-
getPartitionsCount
public int getPartitionsCount()- Specified by:
getPartitionsCount
in interfaceTopology
- Returns:
- the configured number of partitions
-
getReplicationFactor
public int getReplicationFactor()- Specified by:
getReplicationFactor
in interfaceTopology
- Returns:
- the configured replication factor for every partition
-
getGatewayVersion
- Specified by:
getGatewayVersion
in interfaceTopology
- Returns:
- the gateway version or an empty string if none was found
-
toString
-