public static enum BrokerRemovalDescription.BrokerShutdownStatus extends java.lang.Enum<BrokerRemovalDescription.BrokerShutdownStatus>
FAILED- when the broker removal operation failed midway, unable to initiate a shutdown on the broker. The user is expected to either retry the removal or cancel it. 2.
PENDING- when the broker is yet to be shut down. 3.
CANCELED- when the shutdown operation is canceled (e.g due to the initial reassignment plan computation failing) 3.
COMPLETE- when the broker has successfully been shut down. If this status is returned, the broker to be removed is no longer part of the Kafka cluster.
|Modifier and Type||Method and Description|
Returns the enum constant of this type with the specified name.
Returns an array containing the constants of this enum type, in the order they are declared.
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
public static final BrokerRemovalDescription.BrokerShutdownStatus FAILED
public static final BrokerRemovalDescription.BrokerShutdownStatus CANCELED
public static final BrokerRemovalDescription.BrokerShutdownStatus PENDING
public static final BrokerRemovalDescription.BrokerShutdownStatus COMPLETE
public static BrokerRemovalDescription.BrokerShutdownStatus values()
for (BrokerRemovalDescription.BrokerShutdownStatus c : BrokerRemovalDescription.BrokerShutdownStatus.values()) System.out.println(c);
public static BrokerRemovalDescription.BrokerShutdownStatus valueOf(java.lang.String name)
name- the name of the enum constant to be returned.
java.lang.IllegalArgumentException- if this enum type has no constant with the specified name
java.lang.NullPointerException- if the argument is null