Class FixedSetRecommender
java.lang.Object
io.aiven.kafka.connect.common.config.FixedSetRecommender
- All Implemented Interfaces:
org.apache.kafka.common.config.ConfigDef.Recommender
public final class FixedSetRecommender
extends Object
implements org.apache.kafka.common.config.ConfigDef.Recommender
A
ConfigDef.Recommender
that always supports only the predefined set of values. visible(String, Map)
is always true
.-
Method Summary
Modifier and TypeMethodDescriptionstatic FixedSetRecommender
ofSupportedValues
(Collection<?> supportedValues) validValues
(String name, Map<String, Object> parsedConfig) boolean
-
Method Details
-
validValues
- Specified by:
validValues
in interfaceorg.apache.kafka.common.config.ConfigDef.Recommender
-
visible
- Specified by:
visible
in interfaceorg.apache.kafka.common.config.ConfigDef.Recommender
-
ofSupportedValues
-