@Stable public static interface LogObserver.OnNextContext extends LogObserver.OffsetCommitter, WatermarkSupplier
| Modifier and Type | Method and Description |
|---|---|
default void |
commit(boolean success,
java.lang.Throwable error)
Confirm processing of element.
|
LogObserver.OffsetCommitter |
committer()
Retrieve committer for currently processed record.
|
Offset |
getOffset()
Retrieve
Offset of current record. |
Partition |
getPartition()
Retrieve partition for currently processed record.
|
long |
getWatermark()
Retrieve current watermark of the observe process
|
confirm, fail, nackgetCurrentTimeprocessingTimeLogObserver.OffsetCommitter committer()
Partition getPartition()
long getWatermark()
getWatermark in interface WatermarkSupplierdefault void commit(boolean success,
java.lang.Throwable error)
LogObserver.OffsetCommittercommit in interface LogObserver.OffsetCommittersuccess - success/fail flagerror - error that was thrown during processingCopyright © 2017–2021. All rights reserved.