You can try adding a never version of netty in your pom and see if kafka is okay with that.
It seems the old versions comes from zookeeper. On Wed, Nov 4, 2015 at 10:22 PM, SteveR <srichard...@vonage.com> wrote: > Hi: > > I've recently upgraded my Linux RHEL6 java application to use *Camel 2.16.0* > and *netty4*. I see that *camel-kafka* is pulling in an old version of > netty3 (i.e. *netty-3.7.0.Final.jar*). Just wondering this is normal or if > it's an issue that can be addressed? > > My pom entry for camel-kafka: > > <dependency> > <groupId>org.apache.camel</groupId> > <artifactId>camel-kafka</artifactId> > <version>2.16.0</version> > </dependency> > > When running Maven's dependency:tree, i see this: > > *[INFO] +- org.apache.camel:camel-kafka:jar:2.16.0:compile* > [INFO] | +- (org.apache.camel:camel-core:jar:2.16.0:compile - > omitted for > duplicate) > [INFO] | +- org.apache.kafka:kafka_2.11:jar:0.8.2.1:compile > [INFO] | | +- > org.scala-lang.modules:scala-xml_2.11:jar:1.0.2:compile > [INFO] | | +- com.yammer.metrics:metrics-core:jar:2.2.0:compile > [INFO] | | | \- (org.slf4j:slf4j-api:jar:1.7.2:compile - omitted > for > conflict with 1.7.10) > [INFO] | | +- net.sf.jopt-simple:jopt-simple:jar:3.2:compile > [INFO] | | +- > org.scala-lang.modules:scala-parser-combinators_2.11:jar:1.0.2:compile > [INFO] | | +- com.101tec:zkclient:jar:0.3:compile > * [INFO] | | | \- (org.apache.zookeeper:zookeeper:jar:3.3.1:compile - > omitted for conflict with 3.4.6)* > [INFO] | | +- org.apache.kafka:kafka-clients:jar:0.8.2.1:compile > [INFO] | | | +- (org.slf4j:slf4j-api:jar:1.7.6:compile - omitted > for > conflict with 1.7.10) > [INFO] | | | +- net.jpountz.lz4:lz4:jar:1.2.0:compile > [INFO] | | | \- (org.xerial.snappy:snappy-java:jar:1.1.1.6:compile > - > omitted for conflict with 1.1.1.7) > [INFO] | | \- org.apache.zookeeper:zookeeper:jar:3.4.6:compile > [INFO] | | +- (org.slf4j:slf4j-api:jar:1.6.1:compile - omitted > for > conflict with 1.7.10) > [INFO] | | +- jline:jline:jar:0.9.94:compile > [INFO] | | | \- (junit:junit:jar:3.8.1:compile - omitted for > duplicate) > *[INFO] | | \- io.netty:netty:jar:3.7.0.Final:compile* > [INFO] | +- (com.sun.xml.bind:jaxb-core:jar:2.2.11:compile - omitted > for > duplicate) > [INFO] | \- (com.sun.xml.bind:jaxb-impl:jar:2.2.11:compile - omitted > for > duplicate) > > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Camel-2-16-0-and-camel-kafka-using-old-verion-of-netty-tp5773381.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Claus Ibsen ----------------- http://davsclaus.com @davsclaus Camel in Action 2: https://www.manning.com/ibsen2