public interface HasOffset
Receiver that supports
 reading from and to some offset.| Modifier and Type | Method and Description | 
|---|---|
| java.lang.Long | getEndOffset() | 
| default void | setCheckpoint(java.lang.Long recordsProcessed)Some  Receiversupport mechanism of checkpoint (e.g. | 
| void | setStartOffset(java.lang.Long offset) | 
void setStartOffset(java.lang.Long offset)
offset - inclusive start offset from which the reading should be started.java.lang.Long getEndOffset()
default void setCheckpoint(java.lang.Long recordsProcessed)
Receiver support mechanism of checkpoint (e.g.
 ack). This method should be called before stopping the receiver.