Class BrokerRemovalDescription

java.lang.Object
org.apache.kafka.clients.admin.BrokerRemovalDescription

public class BrokerRemovalDescription extends Object
A description of a broker removal, which has been listed via ConfluentAdmin.describeBrokerRemovals(DescribeBrokerRemovalsOptions). The status of the removal is tracked by two separate status fields: 1. #shutdownStatus(), a #BrokerShutdownStatus denoting the status of the shutdown operation 2. #reassignmentsStatus(), a #PartitionReassignmentsStatus denoting the status of the partition reassignments operation 3. #isShutdownScheduled(), a boolean to decide whether to shutdown the broker after excluding. 4. #brokerReplicaExclusionStatus(), a #BrokerReplicaExclusionStatus denoting the status of excluding the broker and removing the exclusion. When at least one of the two has a failed status, the broker removal operation is considered failed. The user is expected to retry the removal via #ConfluentAdmin.removeBrokers(List). When both have a completed status, the broker removal operation is considered a success.