Class SignalBasedIncrementalSnapshotChangeEventSource<P extends Partition,T extends DataCollectionId>
java.lang.Object
io.debezium.pipeline.source.snapshot.incremental.AbstractIncrementalSnapshotChangeEventSource<P,T>
io.debezium.pipeline.source.snapshot.incremental.SignalBasedIncrementalSnapshotChangeEventSource<P,T>
- All Implemented Interfaces:
IncrementalSnapshotChangeEventSource<P,
T>
@NotThreadSafe
public class SignalBasedIncrementalSnapshotChangeEventSource<P extends Partition,T extends DataCollectionId>
extends AbstractIncrementalSnapshotChangeEventSource<P,T>
-
Field Summary
Fields inherited from class io.debezium.pipeline.source.snapshot.incremental.AbstractIncrementalSnapshotChangeEventSource
context, dispatcher, jdbcConnection, window
-
Constructor Summary
ConstructorDescriptionSignalBasedIncrementalSnapshotChangeEventSource
(RelationalDatabaseConnectorConfig config, JdbcConnection jdbcConnection, EventDispatcher<P, T> dispatcher, DatabaseSchema<?> databaseSchema, Clock clock, SnapshotProgressListener<P> progressListener, DataChangeEventListener<P> dataChangeEventListener) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
emitWindowClose
(Partition partition) Update high watermark for the incremental snapshot chunkprotected void
Update low watermark for the incremental snapshot chunkvoid
processMessage
(Partition partition, DataCollectionId dataCollectionId, Object key, OffsetContext offsetContext) Methods inherited from class io.debezium.pipeline.source.snapshot.incremental.AbstractIncrementalSnapshotChangeEventSource
addDataCollectionNamesToSnapshot, addKeyColumnsToCondition, buildChunkQuery, buildChunkQuery, buildMaxPrimaryKeyQuery, closeWindow, deduplicateWindow, getChangeRecordEmitter, getSignalTableName, init, postIncrementalSnapshotCompleted, postReadChunk, preReadChunk, processSchemaChange, readChunk, readTableChunkStatement, refreshTableSchema, rereadChunk, sendEvent, sendWindowEvents, setContext, stopSnapshot
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.debezium.pipeline.source.snapshot.incremental.IncrementalSnapshotChangeEventSource
processFilteredEvent, processHeartbeat, processTransactionCommittedEvent, processTransactionStartedEvent
-
Field Details
-
LOGGER
private static final org.slf4j.Logger LOGGER -
signalWindowStatement
-
-
Constructor Details
-
SignalBasedIncrementalSnapshotChangeEventSource
public SignalBasedIncrementalSnapshotChangeEventSource(RelationalDatabaseConnectorConfig config, JdbcConnection jdbcConnection, EventDispatcher<P, T> dispatcher, DatabaseSchema<?> databaseSchema, Clock clock, SnapshotProgressListener<P> progressListener, DataChangeEventListener<P> dataChangeEventListener)
-
-
Method Details
-
processMessage
public void processMessage(Partition partition, DataCollectionId dataCollectionId, Object key, OffsetContext offsetContext) -
emitWindowOpen
Description copied from class:AbstractIncrementalSnapshotChangeEventSource
Update low watermark for the incremental snapshot chunk- Specified by:
emitWindowOpen
in classAbstractIncrementalSnapshotChangeEventSource<P extends Partition,
T extends DataCollectionId> - Throws:
SQLException
-
emitWindowClose
Description copied from class:AbstractIncrementalSnapshotChangeEventSource
Update high watermark for the incremental snapshot chunk- Specified by:
emitWindowClose
in classAbstractIncrementalSnapshotChangeEventSource<P extends Partition,
T extends DataCollectionId> - Throws:
SQLException
-