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 Type
    Method
    Description
    default void
    Called after a connector has been successfully started by the engine; i.e.
    default void
    Called after a connector has been successfully stopped by the engine; i.e.
    default void
    Called after all the tasks have been successfully started and engine has moved to polling phase, but before actual polling is started.
    default void
    Called after all the tasks have successfully exited from the polling loop, i.e.
    default void
    Called after a connector task has been successfully started by the engine; i.e.
    default void
    Called 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.
      invalid reference
      SourceConnector#start(Map)
      has completed successfully
    • connectorStopped

      default void connectorStopped()
      Called after a connector has been successfully stopped by the engine; i.e.
      invalid reference
      SourceConnector#stop()
      has completed successfully
    • taskStarted

      default void taskStarted()
      Called after a connector task has been successfully started by the engine; i.e.
      invalid reference
      SourceTask#start(Map)
      has completed successfully
    • taskStopped

      default void taskStopped()
      Called after a connector task has been successfully stopped by the engine; i.e.
      invalid reference
      SourceTask#stop()
      has completed successfully
    • 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.