Package org.apache.kafka.common.config
Provides common mechanisms for defining, parsing, validating, and documenting user-configurable parameters.
-
Interface Summary Interface Description ConfigChangeCallback A callback passed toConfigProvider
for subscribing to changes.ConfigDef.Recommender This is used by theConfigDef.validate(Map)
to get valid values for a configuration given the current configuration values in order to perform full configuration validation and visibility modification.ConfigDef.Validator Validation logic the user may provide to perform single configuration validation. -
Class Summary Class Description AbstractConfig A convenient base class for configurations to extend.Config ConfigData Configuration data from aConfigProvider
.ConfigDef This class is used for specifying the set of expected configurations.ConfigDef.CaseInsensitiveValidString ConfigDef.CompositeValidator ConfigDef.ConfigKey ConfigDef.LambdaValidator ConfigDef.ListSize ConfigDef.NonEmptyString ConfigDef.NonEmptyStringWithoutControlChars ConfigDef.NonNullValidator ConfigDef.Range Validation logic for numeric rangesConfigDef.ValidList ConfigDef.ValidString ConfigResource A class representing resources that have configs.ConfigTransformer This class wraps a set ofConfigProvider
instances and uses them to perform transformations.ConfigTransformerResult The result of a transformation fromConfigTransformer
.ConfigValue LogLevelConfig This class holds definitions for log level configurations related to Kafka's application logging.SaslConfigs SecurityConfig Contains the common security config for SSL and SASLSslConfigs TopicConfig Keys that can be used to configure a topic. -
Enum Summary Enum Description ConfigDef.Importance The importance level for a configurationConfigDef.Type The config typesConfigDef.Width The width of a configuration valueConfigResource.Type Type of resource.SslClientAuth Describes whether the server should require or request client authentication. -
Exception Summary Exception Description ConfigException Thrown if the user supplies an invalid configuration