Class IncrementalSnapshotNotificationService<P extends Partition,O extends OffsetContext>
java.lang.Object
io.debezium.pipeline.notification.IncrementalSnapshotNotificationService<P,O>
public class IncrementalSnapshotNotificationService<P extends Partition,O extends OffsetContext>
extends Object
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
static enum
-
Field Summary
-
Constructor Summary
ConstructorDescriptionIncrementalSnapshotNotificationService
(NotificationService<P, O> notificationService) -
Method Summary
Modifier and TypeMethodDescriptionprivate <T extends DataCollectionId>
NotificationbuildNotificationWith
(IncrementalSnapshotContext<T> incrementalSnapshotContext, IncrementalSnapshotNotificationService.SnapshotStatus type, Map<String, String> additionalData, OffsetContext offsetContext) <T extends DataCollectionId>
voidnotifyAborted
(IncrementalSnapshotContext<T> incrementalSnapshotContext, P partition, OffsetContext offsetContext) <T extends DataCollectionId>
voidnotifyAborted
(IncrementalSnapshotContext<T> incrementalSnapshotContext, P partition, OffsetContext offsetContext, List<String> dataCollectionIds) <T extends DataCollectionId>
voidnotifyCompleted
(IncrementalSnapshotContext<T> incrementalSnapshotContext, P partition, OffsetContext offsetContext) <T extends DataCollectionId>
voidnotifyInProgress
(IncrementalSnapshotContext<T> incrementalSnapshotContext, P partition, OffsetContext offsetContext) <T extends DataCollectionId>
voidnotifyPaused
(IncrementalSnapshotContext<T> incrementalSnapshotContext, P partition, OffsetContext offsetContext) <T extends DataCollectionId>
voidnotifyResumed
(IncrementalSnapshotContext<T> incrementalSnapshotContext, P partition, OffsetContext offsetContext) <T extends DataCollectionId>
voidnotifyStarted
(IncrementalSnapshotContext<T> incrementalSnapshotContext, P partition, OffsetContext offsetContext) <T extends DataCollectionId>
voidnotifyTableScanCompleted
(IncrementalSnapshotContext<T> incrementalSnapshotContext, P partition, OffsetContext offsetContext, long totalRowsScanned, IncrementalSnapshotNotificationService.TableScanCompletionStatus status)
-
Field Details
-
INCREMENTAL_SNAPSHOT
- See Also:
-
DATA_COLLECTIONS
- See Also:
-
SCANNED_COLLECTION
- See Also:
-
CURRENT_COLLECTION_IN_PROGRESS
- See Also:
-
MAXIMUM_KEY
- See Also:
-
LAST_PROCESSED_KEY
- See Also:
-
NONE
- See Also:
-
CONNECTOR_NAME
- See Also:
-
TOTAL_ROWS_SCANNED
- See Also:
-
STATUS
- See Also:
-
LIST_DELIMITER
- See Also:
-
notificationService
-
-
Constructor Details
-
IncrementalSnapshotNotificationService
-
-
Method Details
-
notifyStarted
public <T extends DataCollectionId> void notifyStarted(IncrementalSnapshotContext<T> incrementalSnapshotContext, P partition, OffsetContext offsetContext) -
notifyPaused
public <T extends DataCollectionId> void notifyPaused(IncrementalSnapshotContext<T> incrementalSnapshotContext, P partition, OffsetContext offsetContext) -
notifyResumed
public <T extends DataCollectionId> void notifyResumed(IncrementalSnapshotContext<T> incrementalSnapshotContext, P partition, OffsetContext offsetContext) -
notifyAborted
public <T extends DataCollectionId> void notifyAborted(IncrementalSnapshotContext<T> incrementalSnapshotContext, P partition, OffsetContext offsetContext) -
notifyAborted
public <T extends DataCollectionId> void notifyAborted(IncrementalSnapshotContext<T> incrementalSnapshotContext, P partition, OffsetContext offsetContext, List<String> dataCollectionIds) -
notifyTableScanCompleted
public <T extends DataCollectionId> void notifyTableScanCompleted(IncrementalSnapshotContext<T> incrementalSnapshotContext, P partition, OffsetContext offsetContext, long totalRowsScanned, IncrementalSnapshotNotificationService.TableScanCompletionStatus status) -
notifyInProgress
public <T extends DataCollectionId> void notifyInProgress(IncrementalSnapshotContext<T> incrementalSnapshotContext, P partition, OffsetContext offsetContext) -
notifyCompleted
public <T extends DataCollectionId> void notifyCompleted(IncrementalSnapshotContext<T> incrementalSnapshotContext, P partition, OffsetContext offsetContext) -
buildNotificationWith
private <T extends DataCollectionId> Notification buildNotificationWith(IncrementalSnapshotContext<T> incrementalSnapshotContext, IncrementalSnapshotNotificationService.SnapshotStatus type, Map<String, String> additionalData, OffsetContext offsetContext)
-