Interface SignalChannelReader
- All Known Implementing Classes:
FileSignalChannel,JmxSignalChannel,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,
implement reset logic for specific channel in the reset(Object) method if you need to reset already processed signals,
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 Details
-
name
String name() -
init
-
reset
default <T> void reset(T reference) -
read
List<SignalRecord> read() -
close
void close()
-