mirror of https://github.com/apache/kafka.git
CI / build (push) Waiting to run
Details
[In this PR](https://github.com/apache/kafka/pull/20334), we added some validation checks for the connect config, such as ensuring that `plugin.path` cannot be empty. However, currently, Connect first loads the plugin and then creates the configuration. Even if `plugin.path` is empty, it still attempts to load the plugin first, and then throws an exception when creating the configuration. The approach should be to first create a configuration to validate that the config meet the requirements, and then load the plugin only if the validation passes. This allows for early detection of problems and avoids unnecessary plugin loading processes. Reviewers: Ken Huang <s7133700@gmail.com>, Chia-Ping Tsai <chia7712@gmail.com> |
||
---|---|---|
.. | ||
api | ||
basic-auth-extension | ||
file/src | ||
json | ||
mirror/src | ||
mirror-client/src | ||
runtime/src | ||
test-plugins/src/main | ||
transforms/src |