rhauch opened a new pull request #9425: URL: https://github.com/apache/kafka/pull/9425
By default the `Connector.validate(...)` will only include configuration values that are defined in the connector's `ConfigDef`, and validation is handled via `ConfigDef.Validator` objects. However, a connector can override the `Connector.validate(...)`, including in the output any configuration values whether or not they are not defined in the connector's `ConfigDef`. Before this change, Connect always added an error to any configuration value that did not have a corresponding key defined in the connector's `ConfigDef`. This change removes the addition of those errors, so that only the errors returned by the connector's validation are included in the output. ### Committer Checklist (excluded from commit message) - [ ] Verify design and implementation - [ ] Verify test coverage and CI build status - [ ] Verify documentation (including upgrade notes) ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org