Class SignalBasedIncrementalSnapshotChangeEventSource<T extends DataCollectionId>
- java.lang.Object
-
- io.debezium.pipeline.source.snapshot.incremental.AbstractIncrementalSnapshotChangeEventSource<T>
-
- io.debezium.pipeline.source.snapshot.incremental.SignalBasedIncrementalSnapshotChangeEventSource<T>
-
- All Implemented Interfaces:
IncrementalSnapshotChangeEventSource<T>
@NotThreadSafe public class SignalBasedIncrementalSnapshotChangeEventSource<T extends DataCollectionId> extends AbstractIncrementalSnapshotChangeEventSource<T>
-
-
Field Summary
Fields Modifier and Type Field Description private static org.slf4j.LoggerLOGGERprivate StringsignalWindowStatement-
Fields inherited from class io.debezium.pipeline.source.snapshot.incremental.AbstractIncrementalSnapshotChangeEventSource
context, dispatcher, jdbcConnection, window
-
-
Constructor Summary
Constructors Constructor Description SignalBasedIncrementalSnapshotChangeEventSource(RelationalDatabaseConnectorConfig config, JdbcConnection jdbcConnection, EventDispatcher<T> dispatcher, DatabaseSchema<?> databaseSchema, Clock clock, SnapshotProgressListener progressListener, DataChangeEventListener dataChangeEventListener)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidemitWindowClose()Update high watermark for the incremental snapshot chunkprotected voidemitWindowOpen()Update low watermark for the incremental snapshot chunkvoidprocessMessage(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, readChunk, readTableChunkStatement, refreshTableSchema, sendEvent, sendWindowEvents, setContext
-
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 Detail
-
LOGGER
private static final org.slf4j.Logger LOGGER
-
signalWindowStatement
private final String signalWindowStatement
-
-
Constructor Detail
-
SignalBasedIncrementalSnapshotChangeEventSource
public SignalBasedIncrementalSnapshotChangeEventSource(RelationalDatabaseConnectorConfig config, JdbcConnection jdbcConnection, EventDispatcher<T> dispatcher, DatabaseSchema<?> databaseSchema, Clock clock, SnapshotProgressListener progressListener, DataChangeEventListener dataChangeEventListener)
-
-
Method Detail
-
processMessage
public void processMessage(Partition partition, DataCollectionId dataCollectionId, Object key, OffsetContext offsetContext)
-
emitWindowOpen
protected void emitWindowOpen() throws SQLExceptionDescription copied from class:AbstractIncrementalSnapshotChangeEventSourceUpdate low watermark for the incremental snapshot chunk- Specified by:
emitWindowOpenin classAbstractIncrementalSnapshotChangeEventSource<T extends DataCollectionId>- Throws:
SQLException
-
emitWindowClose
protected void emitWindowClose() throws SQLExceptionDescription copied from class:AbstractIncrementalSnapshotChangeEventSourceUpdate high watermark for the incremental snapshot chunk- Specified by:
emitWindowClosein classAbstractIncrementalSnapshotChangeEventSource<T extends DataCollectionId>- Throws:
SQLException
-
-