Class ContextNameValidator
java.lang.Object
org.apache.kafka.common.config.ContextNameValidator
- All Implemented Interfaces:
ConfigDef.Validator
Constructor Summary
ConstructorsMethod Summary
Modifier and TypeMethodDescriptionvoidensureValid(String name, Object value) Perform single configuration validation.toString()
Constructor Details
ContextNameValidator
public ContextNameValidator()
Method Details
ensureValid
Description copied from interface:ConfigDef.ValidatorPerform single configuration validation.- Specified by:
ensureValidin interfaceConfigDef.Validator- Parameters:
name- The name of the configurationvalue- The value of the configuration
toString