camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Kulp (JIRA)" <>
Subject [jira] [Commented] (CAMEL-10087) camel-kafka does not work in OSGI container
Date Fri, 24 Jun 2016 15:49:16 GMT


Daniel Kulp commented on CAMEL-10087:

I understand that.  

If my producer has is configured as:
then that path above will NOT find my serializer.   It is not in the Kafka jar/bundle.   It's
in MY application bundle which is currently the context classloader.   Thus, if you set the
context classloader to null, then the changes for  CAMEL-10069 are 100% necessary.

Have you tried without your patch but WITH the CAMEL_10069 changes?   Is it the partitioner
that its having problems loading?   I think if you add:
to the config, it may work.   For some reason, KafkaConfiguration isn't returning that default
value for the partitioner like it is for the serializers.  

> camel-kafka does not work in OSGI container
> -------------------------------------------
>                 Key: CAMEL-10087
>                 URL:
>             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:
> 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.

This message was sent by Atlassian JIRA

View raw message