Class BaseChangeConsumer

java.lang.Object
io.debezium.server.BaseChangeConsumer

public class BaseChangeConsumer extends Object
Basic services provided to all change consumers.
Author:
Jiri Pechanec
  • Field Details

    • LOGGER

      private static final org.slf4j.Logger LOGGER
    • streamNameMapper

      protected StreamNameMapper streamNameMapper
    • customStreamNameMapper

      @Inject javax.enterprise.inject.Instance<StreamNameMapper> customStreamNameMapper
  • Constructor Details

    • BaseChangeConsumer

      public BaseChangeConsumer()
  • Method Details

    • init

      @PostConstruct void init()
    • getConfigSubset

      protected Map<String,Object> getConfigSubset(org.eclipse.microprofile.config.Config config, String prefix)
      Get a subset of the configuration properties that matches the given prefix.
      Parameters:
      config - The global configuration object to extract the subset from.
      prefix - The prefix to filter property names.
      Returns:
      A subset of the original configuration properties containing property names without the prefix.
    • getBytes

      protected byte[] getBytes(Object object)
    • getString

      protected String getString(Object object)
    • unsupportedTypeMessage

      protected String unsupportedTypeMessage(Object object)