Package org.apache.kafka.common.config
Class ConfigDef.ListSize
java.lang.Object
org.apache.kafka.common.config.ConfigDef.ListSize
- All Implemented Interfaces:
ConfigDef.Validator
- Enclosing class:
- ConfigDef
-
Method Summary
Modifier and TypeMethodDescriptionstatic ConfigDef.ListSize
atMostOfSize
(int maxSize) void
ensureValid
(String name, Object value) Perform single configuration validation.toString()
-
Method Details
-
atMostOfSize
-
ensureValid
Description copied from interface:ConfigDef.Validator
Perform single configuration validation.- Specified by:
ensureValid
in interfaceConfigDef.Validator
- Parameters:
name
- The name of the configurationvalue
- The value of the configuration
-
toString
-