Enum Class StoreIngestionTask.DelegateConsumerRecordResult
java.lang.Object
java.lang.Enum<StoreIngestionTask.DelegateConsumerRecordResult>
com.linkedin.davinci.kafka.consumer.StoreIngestionTask.DelegateConsumerRecordResult
- All Implemented Interfaces:
Serializable
,Comparable<StoreIngestionTask.DelegateConsumerRecordResult>
,Constable
- Enclosing class:
- StoreIngestionTask
protected static enum StoreIngestionTask.DelegateConsumerRecordResult
extends Enum<StoreIngestionTask.DelegateConsumerRecordResult>
This enum represents all potential results after calling
StoreIngestionTask.delegateConsumerRecord(PubSubMessageProcessedResultWrapper, int, String, int, long, long)
.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionThe consumer record has been produced to local version topic by leader.The consumer record has been put into drainer queue; the following cases will result in putting to drainer directly: 1.The consumer record is skipped. -
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.
-
Enum Constant Details
-
PRODUCED_TO_KAFKA
The consumer record has been produced to local version topic by leader. -
QUEUED_TO_DRAINER
The consumer record has been put into drainer queue; the following cases will result in putting to drainer directly: 1. Online/Offline ingestion task 2. Follower replicas 3. Leader is consuming from local version topics -
SKIPPED_MESSAGE
The consumer record is skipped. e.g. remote VT's TS message during data recovery.
-
-
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
-