kafka/connect
majialong 24cad50840
CI / build (push) Waiting to run Details
MINOR: Adjust the timing for creating connect config (#20612)
[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>
2025-10-06 22:07:51 +08:00
..
api MINOR: Fix an off-by-one issue in ValuesTest (#20520) 2025-09-15 18:26:47 +01:00
basic-auth-extension MINOR: Cleanup Connect Module (1/n) (#19869) 2025-07-11 00:35:41 +08:00
file/src MINOR: Cleanups in Connect (#20077) 2025-09-03 11:11:57 +02:00
json MINOR: Add doc for external schemas in JSONConverter (#20429) 2025-09-06 23:51:59 +08:00
mirror/src MINOR: Adjust the timing for creating connect config (#20612) 2025-10-06 22:07:51 +08:00
mirror-client/src KAFKA-19112 Unifying LIST-Type Configuration Validation and Default Values (#20334) 2025-09-06 01:25:55 +08:00
runtime/src MINOR: Adjust the timing for creating connect config (#20612) 2025-10-06 22:07:51 +08:00
test-plugins/src/main MINOR: Cleanup Connect Module (2/n) (#19871) 2025-07-22 22:23:54 +08:00
transforms/src KAFKA-19112 Unifying LIST-Type Configuration Validation and Default Values (#20334) 2025-09-06 01:25:55 +08:00