Package org.apache.kafka.clients.admin
Enum Class BrokerReplicaExclusionStatus
java.lang.Object
java.lang.Enum<BrokerReplicaExclusionStatus>
org.apache.kafka.clients.admin.BrokerReplicaExclusionStatus
- All Implemented Interfaces:
Serializable
,Comparable<BrokerReplicaExclusionStatus>
,Constable
Denotes the status of the broker replica exclusion sub task of a given Confluent Balancer
operation. The status applies to all the broker replica exclusions.
See #
for more information about broker
replica exclusion.
invalid reference
ConfluentAdmin#alterBrokerReplicaExclusions()
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionWhen the exclusion operation is canceled prior to initiation due to external influence.When the exclusion has been removed successfully.When broker replica exclusion (either setting or removing the exclusion) was started but did not complete successfully.When the broker has been excluded from the cluster.When the broker is being excluded from having replicas on it.When the broker is yet to be excluded from having replicas on it.When the exclusion is in the process of being removed.Kept for future-compatibility reasons - clients will fall-back to this status when they receive an unrecognized one -
Method Summary
Modifier and TypeMethodDescriptionstatic BrokerReplicaExclusionStatus
static BrokerReplicaExclusionStatus
Returns the enum constant of this class with the specified name.static BrokerReplicaExclusionStatus[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
PENDING
When the broker is yet to be excluded from having replicas on it. -
IN_PROGRESS
When the broker is being excluded from having replicas on it. -
EXCLUDED
When the broker has been excluded from the cluster. -
REMOVING
When the exclusion is in the process of being removed. -
ERROR
When broker replica exclusion (either setting or removing the exclusion) was started but did not complete successfully. Users may need to check the exclusion status of brokers and manually remove exclusions. -
CANCELED
When the exclusion operation is canceled prior to initiation due to external influence. -
COMPLETED
When the exclusion has been removed successfully. -
UNKNOWN
Kept for future-compatibility reasons - clients will fall-back to this status when they receive an unrecognized one
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
toEnum
-