Interface IncrementalSnapshotChangeEventSource<P extends Partition,T extends DataCollectionId>
- Type Parameters:
T
- data collection id class
- All Known Implementing Classes:
AbstractIncrementalSnapshotChangeEventSource
,SignalBasedIncrementalSnapshotChangeEventSource
public interface IncrementalSnapshotChangeEventSource<P extends Partition,T extends DataCollectionId>
A Contract t
- Author:
- Jiri Pechanec
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addDataCollectionNamesToSnapshot
(SignalPayload<P> signalPayload, List<String> dataCollectionIds, Optional<String> additionalCondition, Optional<String> surrogateKey) void
closeWindow
(P partition, String id, OffsetContext offsetContext) void
init
(P partition, OffsetContext offsetContext) void
pauseSnapshot
(P partition, OffsetContext offsetContext) default void
processFilteredEvent
(P partition, OffsetContext offsetContext) default void
processHeartbeat
(P partition, OffsetContext offsetContext) void
processMessage
(P partition, DataCollectionId dataCollectionId, Object key, OffsetContext offsetContext) default void
processSchemaChange
(P partition, OffsetContext offsetContext, DataCollectionId dataCollectionId) default void
processTransactionCommittedEvent
(P partition, OffsetContext offsetContext) default void
processTransactionStartedEvent
(P partition, OffsetContext offsetContext) void
resumeSnapshot
(P partition, OffsetContext offsetContext) void
stopSnapshot
(P partition, OffsetContext offsetContext, Map<String, Object> additionalData, List<String> dataCollectionIds)
-
Method Details
-
closeWindow
- Throws:
InterruptedException
-
pauseSnapshot
- Throws:
InterruptedException
-
resumeSnapshot
- Throws:
InterruptedException
-
processMessage
void processMessage(P partition, DataCollectionId dataCollectionId, Object key, OffsetContext offsetContext) throws InterruptedException - Throws:
InterruptedException
-
init
-
addDataCollectionNamesToSnapshot
void addDataCollectionNamesToSnapshot(SignalPayload<P> signalPayload, List<String> dataCollectionIds, Optional<String> additionalCondition, Optional<String> surrogateKey) throws InterruptedException - Throws:
InterruptedException
-
stopSnapshot
-
processHeartbeat
- Throws:
InterruptedException
-
processFilteredEvent
default void processFilteredEvent(P partition, OffsetContext offsetContext) throws InterruptedException - Throws:
InterruptedException
-
processTransactionStartedEvent
default void processTransactionStartedEvent(P partition, OffsetContext offsetContext) throws InterruptedException - Throws:
InterruptedException
-
processTransactionCommittedEvent
default void processTransactionCommittedEvent(P partition, OffsetContext offsetContext) throws InterruptedException - Throws:
InterruptedException
-
processSchemaChange
default void processSchemaChange(P partition, OffsetContext offsetContext, DataCollectionId dataCollectionId) throws InterruptedException - Throws:
InterruptedException
-