Interface SignalChannelReader
- All Known Implementing Classes:
KafkaSignalChannel
,SourceSignalChannel
public interface SignalChannelReader
This interface is used to provide custom read channels for the Debezium signaling feature:
Implementations must:
define the name of the reader in
name()
,
initialize specific configuration/variables/connections in the init(CommonConnectorConfig connectorConfig)
method,
provide a list of signal record in the read()
method. It is called by SignalProcessor
in a thread loop
Close all allocated resources int the close()
method.- Author:
- Mario Fiore Vitale
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
void
init
(CommonConnectorConfig connectorConfig) name()
read()
-
Method Details
-
name
String name() -
init
-
read
List<SignalRecord> read() -
close
void close()
-