Package org.apache.kafka.clients.admin
Class PartitionReassignment
java.lang.Object
org.apache.kafka.clients.admin.PartitionReassignment
A partition reassignment, which has been listed via
Admin.listPartitionReassignments().Constructor Summary
ConstructorsMethod Summary
Modifier and TypeMethodDescriptionThe brokers that we are adding this partition to as part of a reassignment.Get the replica observers which are asynchronously replicated.The brokers that we are removing this partition from as part of a reassignment.replicas()The brokers which this partition currently resides on.toString()
Constructor Details
PartitionReassignment
PartitionReassignment
Method Details
replicas
The brokers which this partition currently resides on.observers
Get the replica observers which are asynchronously replicated. These are a subset ofreplicas().addingReplicas
The brokers that we are adding this partition to as part of a reassignment. A subset of replicas.removingReplicas
The brokers that we are removing this partition from as part of a reassignment. A subset of replicas.toString