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 TypeMethodDescriptionvoidcurrentChunk(P partition, String chunkId, Object[] chunkFrom, Object[] chunkTo) voidvoiddataCollectionSnapshotCompleted(P partition, DataCollectionId dataCollectionId, long numRows) voidmonitoredDataCollectionsDetermined(P partition, Iterable<? extends 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) voidsnapshotStarted(P partition)
-
Method Details
-
snapshotStarted
-
snapshotPaused
-
snapshotResumed
-
monitoredDataCollectionsDetermined
void monitoredDataCollectionsDetermined(P partition, Iterable<? extends DataCollectionId> dataCollectionIds) -
snapshotCompleted
-
snapshotAborted
-
dataCollectionSnapshotCompleted
-
rowsScanned
-
currentChunk
-
currentChunk
-
NO_OP
-