Class TimestampPolicyFactory.LogAppendTimePolicy<K,V>

java.lang.Object
org.apache.beam.sdk.io.kafka.TimestampPolicy<K,V>
org.apache.beam.sdk.io.kafka.TimestampPolicyFactory.LogAppendTimePolicy<K,V>
Enclosing interface:
TimestampPolicyFactory<KeyT,ValueT>

public static class TimestampPolicyFactory.LogAppendTimePolicy<K,V> extends TimestampPolicy<K,V>
Assigns Kafka's log append time (server side ingestion time) to each record. The watermark for each Kafka partition is the timestamp of the last record read. If a partition is idle, the watermark advances roughly to 'current time - 2 seconds'. See KafkaIO.Read.withLogAppendTime() for longer description.