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 org.apache.kafka.common.config.AbstractConfig
Abstract class that defines the configuration options for Converter and HeaderConverter instances.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
     

    Fields inherited from class org.apache.kafka.common.config.AbstractConfig

    AUTOMATIC_CONFIG_PROVIDERS_PROPERTY, CONFIG_PROVIDERS_CONFIG
  • Method Summary

    Modifier and Type
    Method
    Description
    static org.apache.kafka.common.config.ConfigDef
    Create a new ConfigDef instance containing the configurations defined by ConverterConfig.
    Get the type of converter as defined by the TYPE_CONFIG configuration.

    Methods inherited from class org.apache.kafka.common.config.AbstractConfig

    documentationOf, equals, getBoolean, getClass, getConfiguredInstance, getConfiguredInstance, getConfiguredInstances, getConfiguredInstances, getConfiguredInstances, getDouble, getInt, getList, getLong, getPassword, getShort, getString, hashCode, ignore, logUnused, nonInternalValues, originals, originals, originalsStrings, originalsWithPrefix, originalsWithPrefix, typeOf, unused, values, valuesWithPrefixAllOrNothing, valuesWithPrefixOverride

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Method Details

    • newConfigDef

      public static org.apache.kafka.common.config.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