public class ConsumerRecordTimestampExtractor extends Object implements TimestampExtractor
WallclockTimestampExtractor
.Constructor and Description |
---|
ConsumerRecordTimestampExtractor() |
public long extract(ConsumerRecord<Object,Object> record)
TimestampExtractor
Typically, the timestamp represents the milliseconds since midnight, January 1, 1970 UTC.
extract
in interface TimestampExtractor
record
- a data record