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 viaAdmin.alterPartitionReassignments(Map, AlterPartitionReassignmentsOptions)
.
-
-
Constructor Summary
Constructors Constructor Description NewPartitionReassignment(List<Integer> targetReplicas)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Integer>
targetReplicas()
-
-
-
Constructor Detail
-
NewPartitionReassignment
public NewPartitionReassignment(List<Integer> targetReplicas)
- Throws:
IllegalArgumentException
- if no replicas are supplied
-
-