use of org.apache.kafka.common.config.ConfigValue in project kafka by apache.
the class Connector method validate.
/**
* Validate the connector configuration values against configuration definitions.
* @param connectorConfigs the provided configuration values
* @return List of Config, each Config contains the updated configuration information given
* the current configuration values.
*/
public Config validate(Map<String, String> connectorConfigs) {
ConfigDef configDef = config();
List<ConfigValue> configValues = configDef.validate(connectorConfigs);
return new Config(configValues);
}
Aggregations