plugin.path — Kafka Connect Worker Configuration
List of paths separated by commas (,) that contain plugins (connectors, converters, transformations). A path may be a plugin archive (JAR or ZIP), or a directory containing plugins
Description
List of paths separated by commas (,) that contain plugins (connectors, converters, transformations). A path may be a plugin archive (JAR or ZIP), or a directory containing plugins. When the path is a directory, each direct child directory or archive is loaded separately and may be:a) a directory containing JARs or ZIPs with plugins and their dependenciesb) an uber-jar with plugins and their dependenciesc) a directory containing the package directory structure of classes of plugins and their dependenciesEach direct child directory is scanned recursively, so archives, classes and dependencies may be located in nested subdirectories. Multiple plugins placed under the same direct child directory share the same class loader. For class loading isolation, place each plugin and its dependencies in its own direct child directory under a path listed in plugin.path. Symlinks will be followed to discover dependencies or plugins.Examples: plugin.path=/usr/local/share/java,/usr/local/share/kafka/plugins,/opt/connectorsWith plugin.path=/opt/connectors, place each plugin in its own direct child of /opt/connectors. A plugin can be a directory such as /opt/connectors/my-plugin/ (dependencies may be nested, e.g. /opt/connectors/my-plugin/lib/dep.jar), or an uber-jar such as /opt/connectors/another-plugin.jar.Do not use config provider variables in this property, since the raw path is used by the worker's scanner before config providers are initialized and used to replace variables.
Default Values by Kafka Version
| Component | Kafka version line | Documented default |
|---|---|---|
| Connect Worker | 0.11.0 | null |
| Connect Worker | 1.0 | null |
| Connect Worker | 1.1 | null |
| Connect Worker | 2.0 | null |
| Connect Worker | 2.1 | null |
| Connect Worker | 2.2 | null |
| Connect Worker | 2.3 | null |
| Connect Worker | 2.4 | null |
| Connect Worker | 2.5 | null |
| Connect Worker | 2.6 | null |
| Connect Worker | 2.7 | null |
| Connect Worker | 2.8 | null |
| Connect Worker | 3.0 | null |
| Connect Worker | 3.1 | null |
| Connect Worker | 3.2 | null |
| Connect Worker | 3.3 | null |
| Connect Worker | 3.4 | null |
| Connect Worker | 3.5 | null |
| Connect Worker | 3.6 | null |
| Connect Worker | 3.7 | null |
| Connect Worker | 3.8 | null |
| Connect Worker | 3.9 | null |
| Connect Worker | 4.0 | null |
| Connect Worker | 4.1 | null |
| Connect Worker | 4.2 | null |
| Connect Worker | 4.3 | null |
| Connect Worker | 4.4 | null |