Enum Class ClusterLinkError

java.lang.Object
java.lang.Enum<ClusterLinkError>
org.apache.kafka.common.ClusterLinkError
All Implemented Interfaces:
Serializable, Comparable<ClusterLinkError>, Constable

public enum ClusterLinkError extends Enum<ClusterLinkError>
Encodes a reason for why a link is in some sort of error state. If the link is not in an error state, the value will be NO_ERROR.
  • Enum Constant Details

    • UNKNOWN

      public static final ClusterLinkError UNKNOWN
    • NO_ERROR

      public static final ClusterLinkError NO_ERROR
    • AUTHENTICATION_ERROR

      public static final ClusterLinkError AUTHENTICATION_ERROR
    • UNRESOLVABLE_BOOTSTRAP_ERROR

      public static final ClusterLinkError UNRESOLVABLE_BOOTSTRAP_ERROR
    • INVALID_BOOTSTRAP_INTERNAL_ENDPOINT_ERROR

      public static final ClusterLinkError INVALID_BOOTSTRAP_INTERNAL_ENDPOINT_ERROR
    • BOOTSTRAP_TCP_CONNECTION_FAILED_ERROR

      public static final ClusterLinkError BOOTSTRAP_TCP_CONNECTION_FAILED_ERROR
    • TIMEOUT_ERROR

      public static final ClusterLinkError TIMEOUT_ERROR
    • RETRIABLE_RECONFIGURATION_ERROR

      public static final ClusterLinkError RETRIABLE_RECONFIGURATION_ERROR
    • AUTHORIZATION_ERROR

      public static final ClusterLinkError AUTHORIZATION_ERROR
  • Method Details

    • values

      public static ClusterLinkError[] 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

      public static ClusterLinkError valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • getValue

      public short getValue()
    • fromShort

      public static ClusterLinkError fromShort(short x)