@Evolving public interface ContinuousPartitionReader<T> extends PartitionReader<T>
PartitionReader for use with continuous streaming processing.| Modifier and Type | Method and Description |
|---|---|
PartitionOffset |
getOffset()
Get the offset of the current record, or the start offset if no records have been read.
|
currentMetricsValues, get, nextPartitionOffset getOffset()
The execution engine will call this method along with get() to keep track of the current offset. When an epoch ends, the offset of the previous record in each partition will be saved as a restart checkpoint.