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 TypeMethodDescriptionvoid
currentChunk
(P partition, String chunkId, Object[] chunkFrom, Object[] chunkTo) void
void
dataCollectionSnapshotCompleted
(P partition, DataCollectionId dataCollectionId, long numRows) void
monitoredDataCollectionsDetermined
(P partition, Iterable<? extends DataCollectionId> dataCollectionIds) static <P extends Partition>
SnapshotProgressListener<P>NO_OP()
void
rowsScanned
(P partition, TableId tableId, long numRows) void
snapshotAborted
(P partition) void
snapshotCompleted
(P partition) void
snapshotStarted
(P partition)
-
Method Details
-
snapshotStarted
-
monitoredDataCollectionsDetermined
void monitoredDataCollectionsDetermined(P partition, Iterable<? extends DataCollectionId> dataCollectionIds) -
snapshotCompleted
-
snapshotAborted
-
dataCollectionSnapshotCompleted
-
rowsScanned
-
currentChunk
-
currentChunk
-
NO_OP
-