Interface PartitionInfo

All Known Implementing Classes:
PartitionInfoImpl

@Deprecated public interface PartitionInfo
Deprecated.
since 8.8 for removal in 8.9, replaced by PartitionInfo
  • Method Details

    • getPartitionId

      int getPartitionId()
      Deprecated.
      Returns:
      the partition's id
    • getRole

      Deprecated.
      Returns:
      the current role of the broker for this partition (i.e. leader or follower)
    • isLeader

      boolean isLeader()
      Deprecated.
      Returns:
      true if the broker is the current leader of this partition
    • getHealth

      Deprecated.
      Returns:
      the current health status for the broker for this partition (i.e. healthy or unhealthy)