[Question] ClassNotFoundException on kafka-connect startup
See original GitHub issueI was playing around with Kafka Connect and created a small sample project that setups all needed services + Kafka Connect using Docker Compose. All services start, but logs of kafka-connect are bothering me. I see a lot of ClassNotFoundException
when it loads plugins. I did not configure neither CONNECT_PLUGIN_PATH
, nor CLASSPATH
, did not add volumes with additional plugins, so I supposed that it should work out of the box without these vars.
Here is the whole startup log.
Could someone advise what is incorrect in my setup?
Issue Analytics
- State:
- Created 5 years ago
- Comments:8
Top Results From Across the Web
How to solve the classNotFoundException warnings when ...
Here's an example Docker Compose that you can use which shows installing a Kafka Connect connector too: github.com/confluentinc/demo-scene/blob/ ...
Read more >Why do I get java.lang.NoClassDefFoundError when updating ...
Problem Description. When the Aerospike Kafka Inbound Connector is updated to version 2.2 or higher, the update fails with the following error.
Read more >java.lang.ClassNotFoundException: io.debezium.util.IoUtil error
Due to constraint configuration problems the provider org.apache.kafka.connect.runtime.rest.resources.ConnectorsResource will be ignored.
Read more >Problem with writing Kafka Connect `log4j` logs to a Kafka Topic
I need to write Kafka Connect log4j logs to a Kafka Topic, to be able to access ... Usually, there is much more...
Read more >kafka-connect-sap error confluent - SAP Community
Hi all, I am using kafka-connect-sap available ... Error while starting connector (org.apache.kafka.connect.runtime.WorkerConnector:193).
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I had a similar experience using kafka-connect docker image but with kubernetes.
The log is here: https://gist.github.com/puneetloya/33c7d66865892513c7b7d01a01cc2cfa
I solved the problem with the tips: http://mail-archives.apache.org/mod_mbox/kafka-users/201707.mbox/<CABqDk2NgWS0faAyYKdXGs4t=wdPverYHr8rjBP4W11vGueY+5w@mail.gmail.com>
If you are running kafka connect with docker image, add this config to /etc/confluent/docker/log4j.properties.template:
log4j.logger.org.reflections=ERROR