Class ConverterConfig

java.lang.Object
org.apache.kafka.common.config.AbstractConfig
org.apache.kafka.connect.storage.ConverterConfig
Direct Known Subclasses:
StringConverterConfig

public abstract class ConverterConfig
extends AbstractConfig
Abstract class that defines the configuration options for Converter and HeaderConverter instances.
  • Field Details

  • Constructor Details

    • ConverterConfig

      protected ConverterConfig​(ConfigDef configDef, Map<String,​?> props)
  • Method Details

    • newConfigDef

      public static ConfigDef newConfigDef()
      Create a new ConfigDef instance containing the configurations defined by ConverterConfig. This can be called by subclasses.
      Returns:
      the ConfigDef; never null
    • type

      public ConverterType type()
      Get the type of converter as defined by the TYPE_CONFIG configuration.
      Returns:
      the converter type; never null