Class KafkaSignalChannel

java.lang.Object
io.debezium.pipeline.signal.channels.KafkaSignalChannel
All Implemented Interfaces:
SignalChannelReader

public class KafkaSignalChannel extends Object implements SignalChannelReader
The class responsible for processing of signals delivered to Debezium via a dedicated Kafka topic. The signal message must have the following structure:
  • id STRING - the unique identifier of the signal sent, usually UUID, can be used for deduplication
  • type STRING - the unique logical name of the code executing the signal
  • data STRING - the data in JSON format that are passed to the signal code
  • Field Details

    • LOGGER

      private static final org.slf4j.Logger LOGGER
    • CONFIGURATION_FIELD_PREFIX_STRING

      public static final String CONFIGURATION_FIELD_PREFIX_STRING
      See Also:
    • CONSUMER_PREFIX

      private static final String CONSUMER_PREFIX
      See Also:
    • CHANNEL_OFFSET

      public static final String CHANNEL_OFFSET
      See Also:
    • CHANNEL_NAME

      public static final String CHANNEL_NAME
      See Also:
    • topicName

      private String topicName
    • connectorName

      private String connectorName
    • pollTimeoutMs

      private Duration pollTimeoutMs
    • signalsConsumer

      private org.apache.kafka.clients.consumer.KafkaConsumer<String,String> signalsConsumer
    • SIGNAL_TOPIC

      public static final io.debezium.config.Field SIGNAL_TOPIC
    • BOOTSTRAP_SERVERS

      public static final io.debezium.config.Field BOOTSTRAP_SERVERS
    • SIGNAL_POLL_TIMEOUT_MS

      public static final io.debezium.config.Field SIGNAL_POLL_TIMEOUT_MS
    • GROUP_ID

      public static final io.debezium.config.Field GROUP_ID
    • ALL_FIELDS

      private static final io.debezium.config.Field.Set ALL_FIELDS
  • Constructor Details

    • KafkaSignalChannel

      public KafkaSignalChannel()
  • Method Details