Enum Class EvenClusterLoadStatus

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

public enum EvenClusterLoadStatus extends Enum<EvenClusterLoadStatus>
The high level status of the even cluster load operation.
  • Enum Constant Details

    • STARTING

      public static final EvenClusterLoadStatus STARTING
      The state when the Balancer is not yet started and is in process of starting.
    • BALANCED

      public static final EvenClusterLoadStatus BALANCED
      The state when rebalance has completed successfully.
    • BALANCING

      public static final EvenClusterLoadStatus BALANCING
      The state when rebalance is in progress.
    • BALANCING_FAILED

      public static final EvenClusterLoadStatus BALANCING_FAILED
      The state when rebalance fails because of some error like broker going offline during partition reassignment.
    • ABORTED

      public static final EvenClusterLoadStatus ABORTED
      Rebalancing was aborted because a higher priority operation was triggered (manually or by auto detection like add broker)
    • DISABLED

      @Deprecated public static final EvenClusterLoadStatus DISABLED
      Deprecated.
      since 7.3.0
      The state when Balancer is not configured for any-uneven-load.
    • UNKNOWN

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

    • values

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