Skip to content

Don't install kafka-connect-rest-source as a separate Connect plugin #212

Description

@this-Aditya

kafka-connect-fitbit-source/Dockerfile copies the shared base module into its own directory under CONNECT_PLUGIN_PATH, alongside the connector's:

${CONNECT_PLUGIN_PATH}/kafka-connect-rest-source/
${CONNECT_PLUGIN_PATH}/kafka-connect-fitbit-source/

Kafka Connect treats every immediate subdirectory of plugin.path as a separate plugin with its own classloader, so kafka-connect-rest-source is discovered and loaded as a plugin in its own right, even though it is a base library, not something anyone deploys on its own. Its jars are also copied into the fitbit folder , so the same classes end up loaded twice in two classloaders.

Only kafka-connect-fitbit-source/ should be a plugin directory.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions