Skip to content

ERROR - Plugin class loader for connector: was not found. #118

Closed
@valdar

Description

@valdar

Tests logs have this error:

2020-04-03 17:10:52,295 [main           ] ERROR org.apache.kafka.connect.runtime.isolation.DelegatingClassLoader - Plugin class loader for connector: 'org.apache.camel.kafkaconnector.CamelSinkConnector' was not found. Returning: org.apache.kafka.connect.runtime.isolation.DelegatingClassLoader@78aa7b77

it seems to

indicates that the connector is getting loaded in the same classloader as the connect worker, probably because the connector is in the Kafka lib directory. I would suggest moving the connector out of that directory to avoid this exception and have it loaded only through the plugin.path instead.
(see confluentinc/kafka-connect-jdbc#766)

it seems not to be an issue for the tests themselves, still better to investigate.

Metadata

Metadata

Assignees

No one assigned

    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