Hi, 

I'm using servicemix 5.4.0 with the default Apache ServiceMix :: Bundles ::
kafka_2.10 (0.8.1.1) and camel-kafka (2.14.1). 

I have a simple kafka consumer defined in blueprint as a camel route. When I
deploy the route I get the following error...

 ERROR: Bundle kafka-in.xml [231] EventDispatcher: Error during dispatch.
(java.lang.NoClassDefFoundError: org/I0Itec/zkclient/serialize/ZkSerializer)
java.lang.NoClassDefFoundError: org/I0Itec/zkclient/serialize/ZkSerializer
        at
kafka.javaapi.consumer.ZookeeperConsumerConnector.<init>(ZookeeperConsumerConnector.scala:65)
        at
kafka.javaapi.consumer.ZookeeperConsumerConnector.<init>(ZookeeperConsumerConnector.scala:67)
        at
kafka.consumer.Consumer$.createJavaConsumerConnector(ConsumerConnector.scala:100)
        at
kafka.consumer.Consumer.createJavaConsumerConnector(ConsumerConnector.scala)
        at
org.apache.camel.component.kafka.KafkaConsumer.doStart(KafkaConsumer.java:69)
        at
org.apache.camel.support.ServiceSupport.start(ServiceSupport.java:61)
        at
org.apache.camel.impl.DefaultCamelContext.startService(DefaultCamelContext.java:2148)
...

I have a com.101tec.zkclient package in my local maven repository, but
nothing seems to have pulled in org.i0itec.zkclient and none of the bundles
I have seems to publish these packages. I see the references to org.I0Itec
in all the recent kafka source packages.

karaf@root> osgi:find-class com.101tec.zkclient.serialize.ZkSerializer
karaf@root> osgi:find-class org.I0Itec.zkclient.serialize.ZkSerializer

googling for similar issues just tells me that people have imported the jars
from https://github.com/sgroschupf/zkclient but I can't even get them to
build on my machine.

Has anyone else worked through this issue ?


Many thanks

Alan



--
View this message in context: 
http://servicemix.396122.n5.nabble.com/kafka-consumer-org-i0itec-zkclient-class-not-found-tp5722338.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to