Enum Class VeniceIngestionFailureReason
java.lang.Object
java.lang.Enum<VeniceIngestionFailureReason>
com.linkedin.venice.stats.dimensions.VeniceIngestionFailureReason
- All Implemented Interfaces:
VeniceDimensionInterface,Serializable,Comparable<VeniceIngestionFailureReason>,Constable
public enum VeniceIngestionFailureReason
extends Enum<VeniceIngestionFailureReason>
implements VeniceDimensionInterface
Dimension values for the
VeniceMetricsDimensions.VENICE_INGESTION_FAILURE_REASON dimension, representing
the categorized reason for an ingestion task failure.
Ingestion tasks can fail for various reasons during the consumption and processing of data from Kafka topics. This dimension categorizes the failure reason, enabling operators to quickly identify the root cause of ingestion issues through metric dashboards and alerts.
Used by the ingestion.failure.count metric to count ingestion failures by reason.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe ingestion task timed out while waiting for bootstrap (initial data load) to completeA checksum verification failure was detected on ingested data, indicating data corruptionA general/uncategorized ingestion failure that does not match any specific reason aboveThe push job timed out before all data could be ingestedA remote Kafka broker in another region was unreachable during cross-region replicationThe ingestion task was explicitly killed (e.g., during version swap or shutdown) -
Method Summary
Modifier and TypeMethodDescriptionAll instances of this enum share the same dimension name.static VeniceIngestionFailureReasonReturns the enum constant of this class with the specified name.static VeniceIngestionFailureReason[]values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfMethods inherited from interface com.linkedin.venice.stats.dimensions.VeniceDimensionInterface
getDimensionValue
-
Enum Constant Details
-
TASK_KILLED
The ingestion task was explicitly killed (e.g., during version swap or shutdown) -
CHECKSUM_VERIFICATION_FAILURE
A checksum verification failure was detected on ingested data, indicating data corruption -
BOOTSTRAP_TIMEOUT
The ingestion task timed out while waiting for bootstrap (initial data load) to complete -
PUSH_TIMEOUT
The push job timed out before all data could be ingested -
REMOTE_BROKER_UNREACHABLE
A remote Kafka broker in another region was unreachable during cross-region replication -
GENERAL
A general/uncategorized ingestion failure that does not match any specific reason above
-
-
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
-
getDimensionName
All instances of this enum share the same dimension name. Refer toVeniceDimensionInterface.getDimensionName()for more details.- Specified by:
getDimensionNamein interfaceVeniceDimensionInterface
-