Package io.debezium.pipeline
Class EventDispatcher.BufferingSnapshotChangeRecordReceiver
java.lang.Object
io.debezium.pipeline.EventDispatcher.BufferingSnapshotChangeRecordReceiver
- All Implemented Interfaces:
EventDispatcher.SnapshotReceiver<P>,ChangeRecordEmitter.Receiver<P>
- Enclosing class:
EventDispatcher<P extends Partition,T extends io.debezium.spi.schema.DataCollectionId>
private final class EventDispatcher.BufferingSnapshotChangeRecordReceiver
extends Object
implements EventDispatcher.SnapshotReceiver<P>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final boolean -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidchangeRecord(P partition, DataCollectionSchema dataCollectionSchema, Envelope.Operation operation, Object key, org.apache.kafka.connect.data.Struct value, OffsetContext offsetContext, org.apache.kafka.connect.header.ConnectHeaders headers) voidMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.debezium.pipeline.spi.ChangeRecordEmitter.Receiver
unchangedEventSkipped
-
Field Details
-
bufferedEventRef
-
threaded
private final boolean threaded
-
-
Constructor Details
-
BufferingSnapshotChangeRecordReceiver
BufferingSnapshotChangeRecordReceiver(boolean threaded)
-
-
Method Details
-
changeRecord
public void changeRecord(P 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<P extends Partition>- Throws:
InterruptedException
-
completeSnapshot
- Specified by:
completeSnapshotin interfaceEventDispatcher.SnapshotReceiver<P extends Partition>- Throws:
InterruptedException
-