Class ReplicaStatusResult
java.lang.Object
org.apache.kafka.clients.admin.ReplicaStatusResult
The result of
ConfluentAdmin.replicaStatus(Set, ReplicaStatusOptions). The API of this class is evolving, see Admin for details.Constructor Summary
ConstructorsMethod Summary
Modifier and TypeMethodDescriptionall()Returns a future which succeeds only if all replica status requests succeed.Return a feature that succeeds when all replica status requests have succeed.Map<TopicPartition, KafkaFuture<List<org.apache.kafka.common.replica.ReplicaStatus>>> result()Returns a map from topic and partition to the status of each of its replicas.
Constructor Details
ReplicaStatusResult
Method Details
result
public Map<TopicPartition, KafkaFuture<List<org.apache.kafka.common.replica.ReplicaStatus>>> result()Returns a map from topic and partition to the status of each of its replicas.all
Returns a future which succeeds only if all replica status requests succeed.partitionResults
allResults
Return a feature that succeeds when all replica status requests have succeed.