Package org.apache.kafka.clients.admin
Class NewPartitionReassignment
java.lang.Object
org.apache.kafka.clients.admin.NewPartitionReassignment
public class NewPartitionReassignment extends Object
A new partition reassignment, which can be applied via
Admin.alterPartitionReassignments(Map, AlterPartitionReassignmentsOptions)
.-
Constructor Summary
Constructors Constructor Description NewPartitionReassignment(List<Integer> targetReplicas)
-
Method Summary
Modifier and Type Method Description List<Integer>
targetReplicas()
-
Constructor Details
-
NewPartitionReassignment
- Throws:
IllegalArgumentException
- if no replicas are supplied
-
-
Method Details
-
targetReplicas
-