Interface PartitionInfo
- All Known Implementing Classes:
PartitionInfoImpl
Deprecated.
-
Method Details
-
getPartitionId
int getPartitionId()Deprecated.- Returns:
- the partition's id
-
getRole
PartitionBrokerRole getRole()Deprecated.- Returns:
- the current role of the broker for this partition (i.e. leader or follower)
-
isLeader
boolean isLeader()Deprecated.- Returns:
trueif the broker is the current leader of this partition
-
getHealth
PartitionBrokerHealth getHealth()Deprecated.- Returns:
- the current health status for the broker for this partition (i.e. healthy or unhealthy)
-
PartitionInfo