Class TopologyImpl

java.lang.Object
io.camunda.zeebe.client.impl.response.TopologyImpl
All Implemented Interfaces:
Topology

public final class TopologyImpl extends Object implements Topology
  • Constructor Details

  • Method Details

    • getBrokers

      public List<BrokerInfo> getBrokers()
      Specified by:
      getBrokers in interface Topology
      Returns:
      all (known) brokers of the cluster
    • getClusterSize

      public int getClusterSize()
      Specified by:
      getClusterSize in interface Topology
      Returns:
      the size of the Zeebe broker cluster
    • getPartitionsCount

      public int getPartitionsCount()
      Specified by:
      getPartitionsCount in interface Topology
      Returns:
      the configured number of partitions
    • getReplicationFactor

      public int getReplicationFactor()
      Specified by:
      getReplicationFactor in interface Topology
      Returns:
      the configured replication factor for every partition
    • getGatewayVersion

      public String getGatewayVersion()
      Specified by:
      getGatewayVersion in interface Topology
      Returns:
      the gateway version or an empty string if none was found
    • toString

      public String toString()
      Overrides:
      toString in class Object