Package io.debezium.engine
Interface DebeziumEngine.ConnectorCallback
- Enclosing interface:
DebeziumEngine<R>
public static interface DebeziumEngine.ConnectorCallback
Callback function which informs users about the various stages a connector goes through during startup
-
Method Summary
Modifier and TypeMethodDescriptiondefault voidCalled after a connector has been successfully started by the engine; i.e.default voidCalled after a connector has been successfully stopped by the engine; i.e.default voidCalled after all the tasks have been successfully started and engine has moved to polling phase, but before actual polling is started.default voidCalled after all the tasks have successfully exited from the polling loop, i.e.default voidCalled after a connector task has been successfully started by the engine; i.e.default voidCalled after a connector task has been successfully stopped by the engine; i.e.
-
Method Details
-
connectorStarted
default void connectorStarted()Called after a connector has been successfully started by the engine; i.e.has completed successfullyinvalid reference
SourceConnector#start(Map) -
connectorStopped
default void connectorStopped()Called after a connector has been successfully stopped by the engine; i.e.has completed successfullyinvalid reference
SourceConnector#stop() -
taskStarted
default void taskStarted()Called after a connector task has been successfully started by the engine; i.e.has completed successfullyinvalid reference
SourceTask#start(Map) -
taskStopped
default void taskStopped()Called after a connector task has been successfully stopped by the engine; i.e.has completed successfullyinvalid reference
SourceTask#stop() -
pollingStarted
default void pollingStarted()Called after all the tasks have been successfully started and engine has moved to polling phase, but before actual polling is started. -
pollingStopped
default void pollingStopped()Called after all the tasks have successfully exited from the polling loop, i.e. the callback is not called when any of the tasks has thrown exception during polling or was interrupted abruptly.
-