public static interface DebeziumEngine.ChangeConsumer<R>
| Modifier and Type | Method and Description |
|---|---|
void |
handleBatch(List<R> records,
DebeziumEngine.RecordCommitter<R> committer)
Handles a batch of records, calling the
DebeziumEngine.RecordCommitter.markProcessed(Object)
for each record and DebeziumEngine.RecordCommitter.markBatchFinished() when this batch is finished. |
default boolean |
supportsTombstoneEvents()
Controls whether the change consumer supports processing of tombstone events.
|
void handleBatch(List<R> records, DebeziumEngine.RecordCommitter<R> committer) throws InterruptedException
DebeziumEngine.RecordCommitter.markProcessed(Object)
for each record and DebeziumEngine.RecordCommitter.markBatchFinished() when this batch is finished.records - the records to be processedcommitter - the committer that indicates to the system that we are finishedInterruptedExceptiondefault boolean supportsTombstoneEvents()
Copyright © 2021 JBoss by Red Hat. All rights reserved.