Package org.apache.kafka.connect.storage
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 forConverterandHeaderConverterinstances.
-
-
Field Summary
Fields Modifier and Type Field Description static StringTYPE_CONFIG-
Fields inherited from class org.apache.kafka.common.config.AbstractConfig
CONFIG_PROVIDERS_CONFIG
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedConverterConfig(ConfigDef configDef, Map<String,?> props)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ConfigDefnewConfigDef()Create a newConfigDefinstance containing the configurations defined by ConverterConfig.ConverterTypetype()Get the type of converter as defined by theTYPE_CONFIGconfiguration.-
Methods inherited from class org.apache.kafka.common.config.AbstractConfig
documentationOf, equals, get, getBoolean, getClass, getConfiguredInstance, getConfiguredInstance, getConfiguredInstances, getConfiguredInstances, getConfiguredInstances, getDouble, getInt, getList, getLong, getPassword, getShort, getString, hashCode, ignore, logUnused, nonInternalValues, originals, originals, originalsStrings, originalsWithPrefix, originalsWithPrefix, postProcessParsedConfig, typeOf, unused, values, valuesWithPrefixAllOrNothing, valuesWithPrefixOverride
-
-
-
-
Field Detail
-
TYPE_CONFIG
public static final String TYPE_CONFIG
- See Also:
- Constant Field Values
-
-
Method Detail
-
newConfigDef
public static ConfigDef newConfigDef()
Create a newConfigDefinstance 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 theTYPE_CONFIGconfiguration.- Returns:
- the converter type; never null
-
-