public interface TimestampExtractor
ConsumerRecord
.
The extracted timestamp is defined as milliseconds.Modifier and Type | Method and Description |
---|---|
long |
extract(ConsumerRecord<Object,Object> record)
Extracts a timestamp from a record.
|
long extract(ConsumerRecord<Object,Object> record)
Typically, the timestamp represents the milliseconds since midnight, January 1, 1970 UTC.
record
- a data record