plugin.discovery — Kafka Connect Worker Configuration
Method to use to discover plugins present in the classpath and plugin.path configuration.
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
| Kafka Version | Default Value |
|---|---|
| 3.6 | hybrid_warn |
| 3.7 | hybrid_warn |
| 3.8 | hybrid_warn |
| 3.9 | hybrid_warn |
| 4.0 | hybrid_warn |
| 4.1 | hybrid_warn |
| 4.2 | hybrid_warn |