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 viaAdmin.listPartitionReassignments()
.
-
-
Method Summary
All Methods Instance Methods Concrete Methods 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()
-
-
-
Method Detail
-
addingReplicas
public List<Integer> addingReplicas()
The brokers that we are adding this partition to as part of a reassignment. A subset of replicas.
-
removingReplicas
public List<Integer> removingReplicas()
The brokers that we are removing this partition from as part of a reassignment. A subset of replicas.
-
-