public static interface EmbeddedEngine.ChangeConsumer
| Modifier and Type | Method and Description |
|---|---|
void |
handleBatch(List<org.apache.kafka.connect.source.SourceRecord> records,
EmbeddedEngine.RecordCommitter committer)
Handles a batch of records, calling the
EmbeddedEngine.RecordCommitter.markProcessed(SourceRecord)
for each record and EmbeddedEngine.RecordCommitter.markBatchFinished() when this batch is finished. |
void handleBatch(List<org.apache.kafka.connect.source.SourceRecord> records, EmbeddedEngine.RecordCommitter committer) throws InterruptedException
EmbeddedEngine.RecordCommitter.markProcessed(SourceRecord)
for each record and EmbeddedEngine.RecordCommitter.markBatchFinished() when this batch is finished.records - the records to be processedcommitter - the committer that indicates to the system that we are finishedInterruptedExceptionCopyright © 2020 JBoss by Red Hat. All rights reserved.