Package org.apache.kafka.clients.admin
Enum Class ClusterLinkTaskError.ClusterLinkTaskErrorCode
java.lang.Object
java.lang.Enum<ClusterLinkTaskError.ClusterLinkTaskErrorCode>
org.apache.kafka.clients.admin.ClusterLinkTaskError.ClusterLinkTaskErrorCode
- All Implemented Interfaces:
Serializable,Comparable<ClusterLinkTaskError.ClusterLinkTaskErrorCode>,Constable
- Enclosing class:
ClusterLinkTaskError
public static enum ClusterLinkTaskError.ClusterLinkTaskErrorCodeextends Enum<ClusterLinkTaskError.ClusterLinkTaskErrorCode>
The reason for why a link task is in some sort of error state. If the task is not in an error state, the value will be NO_ERROR.
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionMethod Summary
Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
Enum Constant Details
UNKNOWN
NO_ERROR
INTERNAL_ERROR
AUTHENTICATION_ERROR
BROKER_AUTHENTICATION_ERROR
MISCONFIGURATION_ERROR
REMOTE_LINK_NOT_FOUND_ERROR
LINK_NOT_FOUND_ERROR
CONSUMER_GROUP_IN_USE_ERROR
AUTHORIZATION_ERROR
BROKER_AUTHORIZATION_ERROR
SECURITY_DISABLED_ERROR
TOPIC_EXISTS_ERROR
POLICY_VIOLATION_ERROR
LINK_COORDINATOR_NOT_ENABLED_ERROR
public static final ClusterLinkTaskError.ClusterLinkTaskErrorCode LINK_COORDINATOR_NOT_ENABLED_ERRORACL_LIMIT_EXCEEDED
REMOTE_MIRROR_NOT_FOUND_ERROR
UNKNOWN_TOPIC_OR_PARTITION_ERROR
INVALID_TOPIC
SUPPRESSED_ERRORS
INVALID_REQUEST_ERROR
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
getValue
public short getValue()fromShort