Class InitialSnapshotNotificationService<P extends Partition,O extends OffsetContext>
java.lang.Object
io.debezium.pipeline.notification.InitialSnapshotNotificationService<P,O>
public class InitialSnapshotNotificationService<P extends Partition,O extends OffsetContext>
extends Object
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
private final CommonConnectorConfig
static final String
static final String
private final NotificationService<P,
O> static final String
-
Constructor Summary
ConstructorDescriptionInitialSnapshotNotificationService
(NotificationService<P, O> notificationService, CommonConnectorConfig connectorConfig) -
Method Summary
Modifier and TypeMethodDescriptionprivate <T extends DataCollectionId>
NotificationbuildNotificationWith
(SnapshotResult.SnapshotResultStatus type, Map<String, String> additionalData) private String
<T extends DataCollectionId>
voidnotifyAborted
(P partition, OffsetContext offsetContext) <T extends DataCollectionId>
voidnotifyCompleted
(P partition, OffsetContext offsetContext) void
notifySkipped
(P partition, OffsetContext offsetContext) <T extends DataCollectionId>
voidnotifyStarted
(P partition, OffsetContext offsetContext)
-
Field Details
-
INITIAL_SNAPSHOT
- See Also:
-
NONE
- See Also:
-
CONNECTOR_NAME
- See Also:
-
STATUS
- See Also:
-
notificationService
-
connectorConfig
-
-
Constructor Details
-
InitialSnapshotNotificationService
public InitialSnapshotNotificationService(NotificationService<P, O> notificationService, CommonConnectorConfig connectorConfig)
-
-
Method Details
-
notifyStarted
-
notifyAborted
-
notifyCompleted
-
notifySkipped
-
buildNotificationWith
private <T extends DataCollectionId> Notification buildNotificationWith(SnapshotResult.SnapshotResultStatus type, Map<String, String> additionalData) -
getConnectorName
-