Integrate the compiled kafka-connect-jdbc with the confluent platform

187 views
Skip to first unread message

Ku4n Cheang

unread,
Apr 1, 2016, 6:39:15 AM4/1/16
to Confluent Platform
I have successfully compiled the kafka-connect-jdbc by using maven.
I am currently facing a problem: how to integrate the compiled kafka-connect-jdbc with confluent platform?

[2016-04-01 05:52:49,010] INFO Instantiated connector with version 3.0.0-SNAPSHOT of type io.confluent.connect.jdbc.JdbcSourceConnector (org.apache.kafka.connect.runtime.Worker:183)

[2016-04-01 05:52:49,014] ERROR Stopping after connector error (org.apache.kafka.connect.cli.ConnectStandalone:91)

java.lang.NoClassDefFoundError: org/apache/kafka/common/config/ConfigDef$Recommender

at io.confluent.connect.jdbc.JdbcSourceConnector.start(JdbcSourceConnector.java:66)

at org.apache.kafka.connect.runtime.Worker.addConnector(Worker.java:186)

at org.apache.kafka.connect.runtime.standalone.StandaloneHerder.startConnector(StandaloneHerder.java:197)

at org.apache.kafka.connect.runtime.standalone.StandaloneHerder.putConnectorConfig(StandaloneHerder.java:145)

at org.apache.kafka.connect.cli.ConnectStandalone.main(ConnectStandalone.java:85)

Caused by: java.lang.ClassNotFoundException: org.apache.kafka.common.config.ConfigDef$Recommender

at java.net.URLClassLoader$1.run(URLClassLoader.java:366)

at java.net.URLClassLoader$1.run(URLClassLoader.java:355)

at java.security.AccessController.doPrivileged(Native Method)

at java.net.URLClassLoader.findClass(URLClassLoader.java:354)

at java.lang.ClassLoader.loadClass(ClassLoader.java:425)

at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)

at java.lang.ClassLoader.loadClass(ClassLoader.java:358)



Liquan Pei

unread,
Apr 1, 2016, 2:11:34 PM4/1/16
to confluent...@googlegroups.com
Hi 

What version of Kafka are you running with? We added some configuration related API in the coming 0.10.0 release. Can you try to run the connector with the 0.10.0 branch in Kafka?

Thanks,
Liquan

--
You received this message because you are subscribed to the Google Groups "Confluent Platform" group.
To unsubscribe from this group and stop receiving emails from it, send an email to confluent-platf...@googlegroups.com.
To post to this group, send email to confluent...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/confluent-platform/46e013ac-8286-4d9b-8bdd-fe26aab7650e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Liquan Pei | Software Engineer | Confluent | +1 413.230.6855
Download Apache Kafka and Confluent Platform: www.confluent.io/download
Reply all
Reply to author
Forward
0 new messages