It depends the kafka feature used, I would try to update the
Import-Package first.
Regards
JB
On 03/04/2015 09:05 PM, lowest_turtle wrote:
Thanks for your quick response (and for building the bundle in the first
place)...
The org.IOItec packages are listed as optional and I believe are not
provided by any other bundle (at least nothing I have loaded, the text in
the console is red for those packages and I think that means they are not
resolved).
Are the com.101tec packages needed ?, there's nothing referencing them in
the kafka source and I don't see the system complaining about them. I can
unjar the kafka bundle and manually add them to the manifest but I think
that will just give it something else to complain about unless I make them
optional.
Here is what the bundle imports...
osgi:headers 225 | more
You are about to access system bundle 225. Do you wish to continue
(yes/no): yes
Apache ServiceMix :: Bundles :: kafka_2.10 (225)
------------------------------------------------
Manifest-Version = 1.0
Bnd-LastModified = 1396618628244
Tool = Bnd-1.50.0
Built-By = jbonofre
Build-Jdk = 1.7.0_51
Created-By = Apache Maven Bundle Plugin
Bundle-Vendor = The Apache Software Foundation
Bundle-Name = Apache ServiceMix :: Bundles :: kafka_2.10
Bundle-DocURL = http://www.apache.org/
Bundle-Description = This OSGi bundle wraps kafka_2.10 0.8.1 jar file.
Bundle-SymbolicName = org.apache.servicemix.bundles.kafka_2.10
Bundle-Version = 0.8.1.1
Bundle-License = http://www.apache.org/licenses/LICENSE-2.0.txt
Bundle-ManifestVersion = 2
Import-Package =
com.yammer.metrics;version="[2.2,3)",
com.yammer.metrics.core;version="[2.2,3)",
com.yammer.metrics.reporting;version="[2.2,3)",
javax.management,
javax.management.remote,
joptsimple;resolution:=optional;version="[3.2,4)",
* org.I0Itec.zkclient;resolution:=optional,
org.I0Itec.zkclient.exception;resolution:=optional,
org.I0Itec.zkclient.serialize;resolution:=optional,
* org.apache.log4j;resolution:=optional,
org.apache.log4j.helpers;resolution:=optional,
org.apache.log4j.spi;resolution:=optional,
org.apache.zookeeper;version="[3.3,4)",
org.apache.zookeeper.data;version="[3.3,4)",
org.xerial.snappy;resolution:=optional,
scala;version="[2,3)",
scala.annotation;version="[2,3)",
scala.collection;version="[2,3)",
scala.collection.convert;version="[2,3)",
scala.collection.generic;version="[2,3)",
...
Thanks again
--
View this message in context:
http://servicemix.396122.n5.nabble.com/kafka-consumer-org-i0itec-zkclient-class-not-found-tp5722338p5722340.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.
--
Jean-Baptiste Onofré
jbono...@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com