plugin.discovery — Kafka Connect Worker Configuration
Method to use to discover plugins present in the classpath and plugin.path configuration. This can be one of multiple values with the following meanings:* only_scan: Discover plugins only by reflection
Description
Method to use to discover plugins present in the classpath and plugin.path configuration. This can be one of multiple values with the following meanings:* only_scan: Discover plugins only by reflection. Plugins which are not discoverable by ServiceLoader will not impact worker startup.* hybrid_warn: Discover plugins reflectively and by ServiceLoader. Plugins which are not discoverable by ServiceLoader will print warnings during worker startup.* hybrid_fail: Discover plugins reflectively and by ServiceLoader. Plugins which are not discoverable by ServiceLoader will cause worker startup to fail.* service_load: Discover plugins only by ServiceLoader. Faster startup than other modes. Plugins which are not discoverable by ServiceLoader may not be usable.
Default Values by Kafka Version
| Component | Kafka version line | Documented default |
|---|---|---|
| Connect Worker | 3.6 | hybrid_warn |
| Connect Worker | 3.7 | hybrid_warn |
| Connect Worker | 3.8 | hybrid_warn |
| Connect Worker | 3.9 | hybrid_warn |
| Connect Worker | 4.0 | hybrid_warn |
| Connect Worker | 4.1 | hybrid_warn |
| Connect Worker | 4.2 | hybrid_warn |
| Connect Worker | 4.3 | hybrid_warn |
| Connect Worker | 4.4 | hybrid_warn |