Enum Class BalancerSelfHealMode

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

public enum BalancerSelfHealMode extends Enum<BalancerSelfHealMode>
The status of how Confluent Balancer component self-heals.
  • Enum Constant Details

    • EMPTY_BROKER

      public static final BalancerSelfHealMode EMPTY_BROKER
      The state when Balancer self-heals only when brokers arrive
    • ANY_UNEVEN_LOAD

      public static final BalancerSelfHealMode ANY_UNEVEN_LOAD
      The state when Balancer self-heals on any variation
    • UNKNOWN

      public static final BalancerSelfHealMode UNKNOWN
      Clients will fall back to this status when they receive an unrecognized status value.
      Since:
      7.3.0
  • Method Details

    • values

      public static BalancerSelfHealMode[] 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 BalancerSelfHealMode 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 BalancerSelfHealMode toEnum(String name)