Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id C27B4200B3C for ; Tue, 28 Jun 2016 18:12:58 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id C119F160A56; Tue, 28 Jun 2016 16:12:58 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 12377160A28 for ; Tue, 28 Jun 2016 18:12:57 +0200 (CEST) Received: (qmail 73891 invoked by uid 500); 28 Jun 2016 16:12:57 -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 73879 invoked by uid 99); 28 Jun 2016 16:12:57 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 Jun 2016 16:12:57 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 1FB132C1F5D for ; Tue, 28 Jun 2016 16:12:57 +0000 (UTC) Date: Tue, 28 Jun 2016 16:12:57 +0000 (UTC) From: "Jay mann (JIRA)" To: issues@camel.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Comment Edited] (CAMEL-10087) camel-kafka does not work in OSGI container MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Tue, 28 Jun 2016 16:12:58 -0000 [ https://issues.apache.org/jira/browse/CAMEL-10087?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15353234#comment-15353234 ] Jay mann edited comment on CAMEL-10087 at 6/28/16 4:12 PM: ----------------------------------------------------------- I see you implemented the fix. But you did not add the deserializers for the consumer. You need to add these keys in your updateClassProperties method: key.deserializer value.deserializer btw, you should probably use the kafka constants as well: ConsumerConfig.KEY_DESERIALIZER_CLASS_CONFIG ConsumerConfig.VALUE_DESERIALIZER_CLASS_CONFIG ProducerConfig.KEY_SERIALIZER_CLASS_CONFIG ProducerConfig.VALUE_SERIALIZER_CLASS_CONFIG I can open another PR if you want me to. -J was (Author: jmandawg): I see you implemented the fix. But you did not add the deserializers for the consumer. You need to add these keys in your updateClassProperties method: key.deserializer value.deserializer -J > camel-kafka does not work in OSGI container > ------------------------------------------- > > Key: CAMEL-10087 > URL: https://issues.apache.org/jira/browse/CAMEL-10087 > Project: Camel > Issue Type: Bug > Components: camel-kafka > Affects Versions: 2.17.1 > Reporter: Jay mann > > Currently this component is broken in OSGI environment due to this: > https://issues.apache.org/jira/browse/KAFKA-3218 > We can leave it broken until they get their bugs worked out. Or i can submit a PR with an intermediate fix that should work, as described in the jira noted above. > https://github.com/apache/camel/pull/1049 -- This message was sent by Atlassian JIRA (v6.3.4#6332)