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
Abstract class that defines the configuration options for
Converter
and HeaderConverter
instances.-
Field Summary
Fields inherited from class org.apache.kafka.common.config.AbstractConfig
CONFIG_PROVIDERS_CONFIG
-
Constructor Summary
ModifierConstructorDescriptionprotected
ConverterConfig
(ConfigDef configDef, Map<String, ?> props) -
Method Summary
Modifier and TypeMethodDescriptionstatic ConfigDef
Create a newConfigDef
instance containing the configurations defined by ConverterConfig.type()
Get the type of converter as defined by theTYPE_CONFIG
configuration.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 Details
-
TYPE_CONFIG
- See Also:
-
-
Constructor Details
-
ConverterConfig
-
-
Method Details
-
newConfigDef
Create a newConfigDef
instance containing the configurations defined by ConverterConfig. This can be called by subclasses.- Returns:
- the ConfigDef; never null
-
type
Get the type of converter as defined by theTYPE_CONFIG
configuration.- Returns:
- the converter type; never null
-