Enum Class BrokerShutdownStatus

java.lang.Object
java.lang.Enum<BrokerShutdownStatus>
org.apache.kafka.clients.admin.BrokerShutdownStatus
All Implemented Interfaces:
Serializable, Comparable<BrokerShutdownStatus>, Constable

public enum BrokerShutdownStatus extends Enum<BrokerShutdownStatus>
Denotes the status of the broker shutdown sub task of a given Confluent Balancer operation. Operations are free to give specific meaning to each broker shutdown status and its effect on the underlying operation, but in general: 1. ERROR - when the broker shutdown was started but did not complete successfully. Users may need to take corrective action to recover. 2. PENDING - when the broker is yet to be shut down. 3. IN_PROGRESS - when the broker is shutting down. 3. CANCELED - when a broker shutdown was canceled prior to initiation. 4. COMPLETED - when the broker has successfully been shut down. 5. UNKNOWN - clients will fall back to this status when they receive an unrecognized status value (since 7.0.0)
  • Enum Constant Details

  • Method Details

    • values

      public static BrokerShutdownStatus[] 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 BrokerShutdownStatus 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
    • toEnum

      public static BrokerShutdownStatus toEnum(String name)