public enum KafkaRecordTimestampStrategy extends Enum<KafkaRecordTimestampStrategy> implements Serializable
EventDataStreamFactory.kafkaSinkBuilder(String, String, String, String, KafkaRecordTimestampStrategy)
Enum Constant and Description |
---|
FLINK_RECORD_EVENT_TIME
Use the timestamp of the flink stream record to populate the event dt field and the kafka timestamp.
|
ROW_EVENT_TIME
Use the timestamp found in the input Row record.
|
ROW_INGESTION_TIME
Use the ingestion time (obtained from the clock while serializing the event) set to meta.dt.
|
Modifier and Type | Method and Description |
---|---|
static KafkaRecordTimestampStrategy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static KafkaRecordTimestampStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final KafkaRecordTimestampStrategy FLINK_RECORD_EVENT_TIME
public static final KafkaRecordTimestampStrategy ROW_EVENT_TIME
public static final KafkaRecordTimestampStrategy ROW_INGESTION_TIME
public static KafkaRecordTimestampStrategy[] values()
for (KafkaRecordTimestampStrategy c : KafkaRecordTimestampStrategy.values()) System.out.println(c);
public static KafkaRecordTimestampStrategy valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2025. All rights reserved.