camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <>
Subject [jira] [Commented] (CAMEL-10439) Kafka Consumer cannot load class RangeAssignor in Weblogic/JEE
Date Fri, 04 Nov 2016 15:57:58 GMT


Claus Ibsen commented on CAMEL-10439:

Can you try with the newer kafka client and then you can modify the camel-kafka component
to remove this code change and see if those classloader fixes works for you?

> Kafka Consumer cannot load class RangeAssignor in Weblogic/JEE
> --------------------------------------------------------------
>                 Key: CAMEL-10439
>                 URL:
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-kafka
>    Affects Versions: 2.18.0
>         Environment: Weblogic 12
>            Reporter: Justin Heesemann
> Seems like the fix for CAMEL-10069 makes it impossible to use the kafka consumer when
deployed in a JEE environment (in my case weblogic).
> Setting the classloader to null (ie setting the system classloader) effectively removes
the kafka classes from the classpath (at least this is what I think happens..).
> org.apache.kafka.common.KafkaException: org.apache.kafka.clients.consumer.RangeAssignor
ClassNotFoundException exception occured
> Apparently they fixed some classloading issues with kafka-clients .. so maybe
this might be a better solution than to tamper with the classloaders?

This message was sent by Atlassian JIRA

View raw message