Package io.debezium.engine.source
Interface DebeziumSourceConnector
- All Known Implementing Classes:
EngineSourceConnector
@Incubating
public interface DebeziumSourceConnector
DebeziumSourceConnector
represents source of change data capture (CDC) for given resource.
CDC implementation itself is done in DebeziumSourceTask
, which is self-contained unit of work
created and managed by DebeziumSourceConnector
. DebeziumSourceConnector
implementations
may create one or multiple tasks, based on the capabilities of the CDC resource.
As DebeziumEngine
currently supports only one connector per its instance,
the connector configuration is hold in engine itself.- Author:
- vjuranek
-
Method Summary
Modifier and TypeMethodDescriptioncontext()
Returns theDebeziumSourceConnectorContext
for this DebeziumSourceConnector.void
initialize
(DebeziumSourceConnectorContext context) Initialize the connector with itsDebeziumSourceConnectorContext
context.
-
Method Details
-
context
DebeziumSourceConnectorContext context()Returns theDebeziumSourceConnectorContext
for this DebeziumSourceConnector.- Returns:
- the DebeziumSourceConnectorContext for this connector
-
initialize
Initialize the connector with itsDebeziumSourceConnectorContext
context.- Parameters:
context
-DebeziumSourceConnectorContext
containing references to auxiliary objects.
-