Package io.debezium.pipeline
Class EventDispatcher.BufferingSnapshotChangeRecordReceiver
- java.lang.Object
-
- io.debezium.pipeline.EventDispatcher.BufferingSnapshotChangeRecordReceiver
-
- All Implemented Interfaces:
EventDispatcher.SnapshotReceiver,ChangeRecordEmitter.Receiver
- Enclosing class:
- EventDispatcher<T extends DataCollectionId>
private final class EventDispatcher.BufferingSnapshotChangeRecordReceiver extends Object implements EventDispatcher.SnapshotReceiver
-
-
Field Summary
Fields Modifier and Type Field Description private Supplier<DataChangeEvent>bufferedEvent
-
Constructor Summary
Constructors Modifier Constructor Description privateBufferingSnapshotChangeRecordReceiver()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidchangeRecord(Partition partition, DataCollectionSchema dataCollectionSchema, Envelope.Operation operation, Object key, org.apache.kafka.connect.data.Struct value, OffsetContext offsetContext, org.apache.kafka.connect.header.ConnectHeaders headers)voidcompleteSnapshot()
-
-
-
Field Detail
-
bufferedEvent
private Supplier<DataChangeEvent> bufferedEvent
-
-
Method Detail
-
changeRecord
public void changeRecord(Partition partition, DataCollectionSchema dataCollectionSchema, Envelope.Operation operation, Object key, org.apache.kafka.connect.data.Struct value, OffsetContext offsetContext, org.apache.kafka.connect.header.ConnectHeaders headers) throws InterruptedException
- Specified by:
changeRecordin interfaceChangeRecordEmitter.Receiver- Throws:
InterruptedException
-
completeSnapshot
public void completeSnapshot() throws InterruptedException- Specified by:
completeSnapshotin interfaceEventDispatcher.SnapshotReceiver- Throws:
InterruptedException
-
-