Return-Path: X-Original-To: apmail-camel-issues-archive@minotaur.apache.org Delivered-To: apmail-camel-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0292D1856E for ; Thu, 17 Mar 2016 14:49:34 +0000 (UTC) Received: (qmail 77388 invoked by uid 500); 17 Mar 2016 14:49:33 -0000 Delivered-To: apmail-camel-issues-archive@camel.apache.org Received: (qmail 77190 invoked by uid 500); 17 Mar 2016 14:49:33 -0000 Mailing-List: contact issues-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@camel.apache.org Delivered-To: mailing list issues@camel.apache.org Received: (qmail 76931 invoked by uid 99); 17 Mar 2016 14:49:33 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Mar 2016 14:49:33 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 883662C1F64 for ; Thu, 17 Mar 2016 14:49:33 +0000 (UTC) Date: Thu, 17 Mar 2016 14:49:33 +0000 (UTC) From: "Claus Ibsen (JIRA)" To: issues@camel.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (CAMEL-9724) Kafka karaf bundle points to incorrect scala version MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CAMEL-9724?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Claus Ibsen updated CAMEL-9724: ------------------------------- Estimated Complexity: Novice (was: Unknown) > 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} > mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.kafka-clients/${kafka-clients-bundle-version} > mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.kafka_2.10/${kafka-bundle-version} > {code} > It's trying to use 2.10 scala version, but in the pom.xml we point to 2.11 scala version > {code:xml} > > org.apache.kafka > kafka_2.11 > ${kafka-version} > > > org.slf4j > slf4j-simple > > > scala-library > org.scala-lang > > > > {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)