Class 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 String TYPE_CONFIG  
      • Fields inherited from class org.apache.kafka.common.config.AbstractConfig

        CONFIG_PROVIDERS_CONFIG
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected ConverterConfig​(org.apache.kafka.common.config.ConfigDef configDef, Map<String,​?> props)  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static org.apache.kafka.common.config.ConfigDef newConfigDef()
      Create a new ConfigDef instance containing the configurations defined by ConverterConfig.
      ConverterType type()
      Get the type of converter as defined by the TYPE_CONFIG configuration.
      • Methods inherited from class org.apache.kafka.common.config.AbstractConfig

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

      • ConverterConfig

        protected ConverterConfig​(org.apache.kafka.common.config.ConfigDef configDef,
                                  Map<String,​?> props)
    • Method Detail

      • 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