Enum Class ConsumerGroupState

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

@Deprecated(since="4.0", forRemoval=true) public enum ConsumerGroupState extends Enum<ConsumerGroupState>
Deprecated, for removal: This API element is subject to removal in a future version.
Since 4.0. Use GroupState instead.
The consumer group state.
  • Nested Class Summary

    Nested classes/interfaces inherited from class java.lang.Enum

    Enum.EnumDesc<E extends Enum<E>>
  • Enum Constant Summary

    Enum Constants
    Enum Constant
    Description
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    parse(String name)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Case-insensitive consumer group state lookup by string name.
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
    Returns the enum constant of this class with the specified name.
    Deprecated, for removal: This API element is subject to removal in a future version.
    Returns an array containing the constants of this enum class, in the order they are declared.

    Methods inherited from class java.lang.Enum

    compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, valueOf

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details

    • UNKNOWN

      public static final ConsumerGroupState UNKNOWN
      Deprecated, for removal: This API element is subject to removal in a future version.
    • PREPARING_REBALANCE

      public static final ConsumerGroupState PREPARING_REBALANCE
      Deprecated, for removal: This API element is subject to removal in a future version.
    • COMPLETING_REBALANCE

      public static final ConsumerGroupState COMPLETING_REBALANCE
      Deprecated, for removal: This API element is subject to removal in a future version.
    • STABLE

      public static final ConsumerGroupState STABLE
      Deprecated, for removal: This API element is subject to removal in a future version.
    • DEAD

      public static final ConsumerGroupState DEAD
      Deprecated, for removal: This API element is subject to removal in a future version.
    • EMPTY

      public static final ConsumerGroupState EMPTY
      Deprecated, for removal: This API element is subject to removal in a future version.
    • ASSIGNING

      public static final ConsumerGroupState ASSIGNING
      Deprecated, for removal: This API element is subject to removal in a future version.
    • RECONCILING

      public static final ConsumerGroupState RECONCILING
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Details

    • values

      public static ConsumerGroupState[] values()
      Deprecated, for removal: This API element is subject to removal in a future version.
      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 ConsumerGroupState valueOf(String name)
      Deprecated, for removal: This API element is subject to removal in a future version.
      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
    • parse

      public static ConsumerGroupState parse(String name)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Case-insensitive consumer group state lookup by string name.
    • toString

      public String toString()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Overrides:
      toString in class Enum<ConsumerGroupState>