Enum Class ElasticCkuDefinitionUtils.ElasticCkuDefinitionKey
java.lang.Object
java.lang.Enum<ElasticCkuDefinitionUtils.ElasticCkuDefinitionKey>
org.apache.kafka.server.quota.ElasticCkuDefinitionUtils.ElasticCkuDefinitionKey
- All Implemented Interfaces:
Serializable, Comparable<ElasticCkuDefinitionUtils.ElasticCkuDefinitionKey>, Constable
- Enclosing class:
ElasticCkuDefinitionUtils
public static enum ElasticCkuDefinitionUtils.ElasticCkuDefinitionKey
extends Enum<ElasticCkuDefinitionUtils.ElasticCkuDefinitionKey>
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe per-eCKU budget for the total partition count (compacted + non-compacted), NOT just non-compacted partitions. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
PRODUCE
-
FETCH
-
TOTAL_THROUGHPUT
-
CONNECTION_COUNT
-
CONNECTION_ATTEMPT
-
REQUEST_COUNT
-
COMPACTED_PARTITION_COUNT
-
TOTAL_PARTITION_COUNT
The per-eCKU budget for the total partition count (compacted + non-compacted), NOT just non-compacted partitions. Elastic-CKU billing divides the tenant's total partition usage by this value, andCOMPACTED_PARTITION_COUNTis an additional sub-limit on the compacted portion.The
@JsonPropertypins the wire/persistence key to the legacy"NON_COMPACTED_PARTITION_COUNT"string. The control plane emits this name in theelastic_cku_metadataJSON persisted on the_confluent-logical_clustertopic, so the Java constant is renamed for clarity without changing the contract. Do NOT change the annotation value. -
MIN_ELASTIC_CKU
-
MAX_ELASTIC_CKU
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-