Package org.apache.kafka.clients.admin
Class PartitionReassignment
java.lang.Object
org.apache.kafka.clients.admin.PartitionReassignment
public class PartitionReassignment extends Object
A partition reassignment, which has been listed via
Admin.listPartitionReassignments()
.-
Constructor Summary
-
Method Summary
Modifier and Type Method Description List<Integer>
addingReplicas()
The brokers that we are adding this partition to as part of a reassignment.List<Integer>
removingReplicas()
The brokers that we are removing this partition from as part of a reassignment.List<Integer>
replicas()
The brokers which this partition currently resides on.String
toString()
-
Constructor Details
-
PartitionReassignment
-
-
Method Details
-
replicas
The brokers which this partition currently resides on. -
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
-