[ https://issues.apache.org/jira/browse/CAMEL-9724?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15204543#comment-15204543 ]
Jose Luis Pedrosa edited comment on CAMEL-9724 at 3/21/16 4:31 PM: ------------------------------------------------------------------- Hi Claus, I'm watching your commits, and the fact that you created the 2.17.0. Yes I saw that 2.17 wont' have that issue: {quote} I see this is already fix in master... so this should not apply to 2.17.0 {quote} I already migrated to Wildfly as also the new driver in 2.17 (I tried by compiling the camel sources) was also getting this issue: https://issues.apache.org/jira/browse/KAFKA-3218 .After migrating to Jboss, all my problems went away. I'm just asking for the good sake of contributing to this project (excelent in my opinion). I dropped the features,xml, but I'll create it again and upload here, but as you said, it's a hack. thanks for your time. was (Author: jlpedrosa): Hi Claus, I'm watching your commits, and the fact that you created the 2.17.0. Yes I saw that 2.17 wont' have that issue: {quote} I see this is already fix in master... so this should not apply to 2.17.0 {quote} I already migrated to Wildfly as also the new driver in 2.17 (I tried by compiling the camel sources) was also getting this issue: https://issues.apache.org/jira/browse/KAFKA-3218.After migrating to Jboss, all my problems went away. I'm just asking for the good sake of contributing to this project (excelent in my opinion). I dropped the features,xml, but I'll create it again and upload here, but as you said, it's a hack. thanks for your time. > Kafka karaf bundle points to incorrect scala version > ---------------------------------------------------- > > Key: CAMEL-9724 > URL: https://issues.apache.org/jira/browse/CAMEL-9724 > Project: Camel > Issue Type: Bug > Components: camel-kafka, karaf > Affects Versions: 2.16.2 > Environment: karaf 4.0.4 > camel 2.16.2 > JDK 1.7 > Reporter: Jose Luis Pedrosa > Priority: Minor > Fix For: 2.16.3 > > > Hi > I see there's a missalingment between the features dependencies and the pom > of the camel-kafka component that makes impossible to run a Producer in > karaf. I can see that in the features.xml > {code:xml} > <bundle > dependency='true'>mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.kafka-clients/${kafka-clients-bundle-version}</bundle> > <bundle > dependency='true'>mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.kafka_2.10/${kafka-bundle-version}</bundle> > {code} > It's trying to use 2.10 scala version, but in the pom.xml we point to 2.11 > scala version > {code:xml} > <dependency> > <groupId>org.apache.kafka</groupId> > <artifactId>kafka_2.11</artifactId> > <version>${kafka-version}</version> > <exclusions> > <exclusion> > <groupId>org.slf4j</groupId> > <artifactId>slf4j-simple</artifactId> > </exclusion> > <exclusion> > <artifactId>scala-library</artifactId> > <groupId>org.scala-lang</groupId> > </exclusion> > </exclusions> > </dependency> > {code} > this causes some Class not found exceptions (funny some how) only in the > producer, but the consumer is ok. > {noformat} > org.apache.camel.FailedToCreateProducerException: Failed to create Producer > for endpoint: Endpoint[kafka://.........]. > Reason: java.lang.ClassNotFoundException: kafka.serializer.DefaultEncoder > {noformat} > {noformat} > karaf@root()> bundle:list | grep kaf > 68 | Active | 50 | 2.16.2 | camel-kafka > 70 | Active | 50 | 0.8.2.2_1 | Apache > ServiceMix :: Bundles :: kafka-clients > 71 | Active | 50 | 0.8.2.2_1 | Apache > ServiceMix :: Bundles :: kafka_2.10 > {noformat} > I see this is already fix in master... so this should not apply to 2.17.0 -- This message was sent by Atlassian JIRA (v6.3.4#6332)