@Confluent @InterfaceStability.Evolving public class PartitionResult extends Object
Constructor and Description |
---|
PartitionResult(int leaderId,
int leaderEpoch,
List<org.apache.kafka.common.replica.ReplicaStatus> replicas) |
PartitionResult(List<org.apache.kafka.common.replica.ReplicaStatus> replicas) |
PartitionResult(org.apache.kafka.common.message.ReplicaStatusResponseData.ReplicaStatusPartitionResponse partitionResponse) |
Modifier and Type | Method and Description |
---|---|
OptionalInt |
leaderEpoch() |
int |
leaderId() |
List<org.apache.kafka.common.replica.ReplicaStatus> |
replicas() |
public PartitionResult(List<org.apache.kafka.common.replica.ReplicaStatus> replicas)
public PartitionResult(org.apache.kafka.common.message.ReplicaStatusResponseData.ReplicaStatusPartitionResponse partitionResponse)
public PartitionResult(int leaderId, int leaderEpoch, List<org.apache.kafka.common.replica.ReplicaStatus> replicas)
public int leaderId()
public OptionalInt leaderEpoch()
public List<org.apache.kafka.common.replica.ReplicaStatus> replicas()