public class BrokerRemovalRequest extends Object
Modifier and Type | Field and Description |
---|---|
List<Integer> |
brokersEligibleForRemoval |
List<Integer> |
nonExistentBrokers |
Boolean |
shouldShutdown |
public final Boolean shouldShutdown
public BrokerRemovalRequest(List<Integer> brokersEligibleForRemoval, List<Integer> nonExistentBrokers, Boolean shouldShutdown)
brokersEligibleForRemoval
- - a list of broker ids that are eligible to be removed from the cluster. An eligible broker is one which either hosts replicas or is online.nonExistentBrokers
- - a list of broker ids that were requested to be removed, but were found to not exist in the cluster (being offline and not hosting any replicas)shouldShutdown
- - whether the broker removal operation should include the shutdown step