Package io.debezium.pipeline.source.spi
Interface SnapshotProgressListener<P extends Partition>
- All Known Subinterfaces:
SnapshotChangeEventSourceMetrics<P>
- All Known Implementing Classes:
DefaultSnapshotChangeEventSourceMetrics
public interface SnapshotProgressListener<P extends Partition>
Invoked whenever an important event or change of state happens during the snapshot phase.
- Author:
- Jiri Pechanec
-
Method Summary
Modifier and TypeMethodDescriptionvoidchunkProgress(P partition, TableId tableId, long totalChunks, long completedChunks) voidcurrentChunk(P partition, String chunkId, Object[] chunkFrom, Object[] chunkTo) voidvoiddataCollectionSnapshotCompleted(P partition, io.debezium.spi.schema.DataCollectionId dataCollectionId, long numRows) voidmonitoredDataCollectionsDetermined(P partition, Iterable<? extends io.debezium.spi.schema.DataCollectionId> dataCollectionIds) static <P extends Partition>
SnapshotProgressListener<P> NO_OP()voidrowsScanned(P partition, TableId tableId, long numRows) voidsnapshotAborted(P partition) voidsnapshotCompleted(P partition) voidsnapshotPaused(P partition) voidsnapshotResumed(P partition) voidsnapshotSkipped(P partition) voidsnapshotStarted(P partition)
-
Method Details
-
snapshotStarted
-
snapshotPaused
-
snapshotResumed
-
monitoredDataCollectionsDetermined
-
snapshotCompleted
-
snapshotAborted
-
snapshotSkipped
-
dataCollectionSnapshotCompleted
void dataCollectionSnapshotCompleted(P partition, io.debezium.spi.schema.DataCollectionId dataCollectionId, long numRows) -
rowsScanned
-
currentChunk
-
currentChunk
-
chunkProgress
-
NO_OP
-