Package io.debezium.pipeline
Interface EventDispatcher.InconsistentSchemaHandler<P extends Partition,T extends DataCollectionId>
- Enclosing class:
- EventDispatcher<P extends Partition,
T extends DataCollectionId>
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface
public static interface EventDispatcher.InconsistentSchemaHandler<P extends Partition,T extends DataCollectionId>
Reaction to an incoming change event for which schema is not found
-
Method Summary
Modifier and TypeMethodDescriptionhandle
(P partition, T dataCollectionId, ChangeRecordEmitter changeRecordEmitter)
-
Method Details
-
handle
Optional<DataCollectionSchema> handle(P partition, T dataCollectionId, ChangeRecordEmitter changeRecordEmitter) - Returns:
- collection schema if the schema was updated and event can be processed,
empty
to skip the processing
-