Enum Class ConsumerPoolType

java.lang.Object
java.lang.Enum<ConsumerPoolType>
com.linkedin.davinci.kafka.consumer.ConsumerPoolType
All Implemented Interfaces:
Serializable, Comparable<ConsumerPoolType>, Constable

public enum ConsumerPoolType extends Enum<ConsumerPoolType>
  • Enum Constant Details

    • AA_WC_LEADER_POOL

      public static final ConsumerPoolType AA_WC_LEADER_POOL
      The following pool types are being used when the dedicated AA/WC leader consumer pool feature is enabled.
    • REGULAR_POOL

      public static final ConsumerPoolType REGULAR_POOL
    • CURRENT_VERSION_AA_WC_LEADER_POOL

      public static final ConsumerPoolType CURRENT_VERSION_AA_WC_LEADER_POOL
      The followings pool types are being used when current version prioritization strategy is enabled. Eventually, this new strategy will replace the above one once it is fully validated and ramped.
    • CURRENT_VERSION_SEP_RT_LEADER_POOL

      public static final ConsumerPoolType CURRENT_VERSION_SEP_RT_LEADER_POOL
    • CURRENT_VERSION_NON_AA_WC_LEADER_POOL

      public static final ConsumerPoolType CURRENT_VERSION_NON_AA_WC_LEADER_POOL
    • NON_CURRENT_VERSION_AA_WC_LEADER_POOL

      public static final ConsumerPoolType NON_CURRENT_VERSION_AA_WC_LEADER_POOL
    • NON_CURRENT_VERSION_NON_AA_WC_LEADER_POOL

      public static final ConsumerPoolType NON_CURRENT_VERSION_NON_AA_WC_LEADER_POOL
  • Method Details

    • values

      public static ConsumerPoolType[] 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 ConsumerPoolType 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
    • getStatSuffix

      public String getStatSuffix()