java.lang.Object
org.apache.kafka.common.config.ConfigDef
io.aiven.commons.kafka.config.CommonConfigDef
public class CommonConfigDef
extends org.apache.kafka.common.config.ConfigDef
The ConfigDef for the CommonConfig class.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.kafka.common.config.ConfigDef
org.apache.kafka.common.config.ConfigDef.CaseInsensitiveValidString, org.apache.kafka.common.config.ConfigDef.CompositeValidator, org.apache.kafka.common.config.ConfigDef.ConfigKey, org.apache.kafka.common.config.ConfigDef.Importance, org.apache.kafka.common.config.ConfigDef.LambdaValidator, org.apache.kafka.common.config.ConfigDef.ListSize, org.apache.kafka.common.config.ConfigDef.NonEmptyString, org.apache.kafka.common.config.ConfigDef.NonEmptyStringWithoutControlChars, org.apache.kafka.common.config.ConfigDef.NonNullValidator, org.apache.kafka.common.config.ConfigDef.Range, org.apache.kafka.common.config.ConfigDef.Recommender, org.apache.kafka.common.config.ConfigDef.Type, org.apache.kafka.common.config.ConfigDef.Validator, org.apache.kafka.common.config.ConfigDef.ValidList, org.apache.kafka.common.config.ConfigDef.ValidString, org.apache.kafka.common.config.ConfigDef.Width -
Field Summary
Fields inherited from class org.apache.kafka.common.config.ConfigDef
NO_DEFAULT_VALUE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionmultiValidate(Map<String, org.apache.kafka.common.config.ConfigValue> valueMap) Gathers in depth, multi argument configuration issues.final List<org.apache.kafka.common.config.ConfigValue>Methods inherited from class org.apache.kafka.common.config.ConfigDef
configKeys, convertToString, convertToStringMapWithPasswordValues, defaultValues, define, define, define, define, define, define, define, define, define, define, define, define, define, define, define, define, define, define, defineInternal, defineInternal, embed, getConfigValue, groups, headers, names, parse, parseType, toEnrichedRst, toHtml, toHtml, toHtml, toHtml, toHtmlTable, toHtmlTable, toRst, validateAll, withClientSaslSupport, withClientSslSupport
-
Constructor Details
-
CommonConfigDef
public CommonConfigDef()Constructor .
-
-
Method Details
-
multiValidate
protected Map<String,org.apache.kafka.common.config.ConfigValue> multiValidate(Map<String, org.apache.kafka.common.config.ConfigValue> valueMap) Gathers in depth, multi argument configuration issues. This method should be overridden when the Fragments added to the config have validation rules that required inspection of multiple properties.Overriding methods should call the parent method to update the map and then add error messages to the
ConfigValueassociated with property name that is in error.- Parameters:
valueMap- the map of configuration names to values.- Returns:
- the updated map.
-
validate
- Overrides:
validatein classorg.apache.kafka.common.config.ConfigDef
-