public static interface DebeziumEngine.RecordCommitter<R>
DebeziumEngine.ChangeConsumers, allowing them to commit single records as they have been processed
and to signal that offsets may be flushed eventually.| Modifier and Type | Method and Description |
|---|---|
void |
markBatchFinished()
Marks a batch as finished, this may result in committing offsets/flushing
data.
|
void |
markProcessed(R record)
Marks a single record as processed, must be called for each
record.
|
void markProcessed(R record) throws InterruptedException
record - the record to commitInterruptedExceptionvoid markBatchFinished()
Should be called when a batch of records is finished being processed.
Copyright © 2020 JBoss by Red Hat. All rights reserved.