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). targetReplicas is the total set of brokers assigned while targetObservers is the set brokers that will act as observers. The size of targetReplicas must be greater than the size of targetObservers and every targetObservers must be included in targetReplicas.