Interface BrokerInfo

  • All Known Implementing Classes:
    BrokerInfoImpl

    public interface BrokerInfo
    • Method Detail

      • getNodeId

        int getNodeId()
        Returns:
        the node if of the broker
      • getHost

        String getHost()
        Returns:
        the address host of the broker
      • getPort

        int getPort()
        Returns:
        the address port of the broker
      • getAddress

        String getAddress()
        Returns:
        the address (host+port) of the broker
      • getVersion

        String getVersion()
        Returns:
        the version of the broker
      • getPartitions

        List<PartitionInfo> getPartitions()
        Returns:
        all partitions of the broker