You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Thomas Diesler (JIRA)" <ji...@apache.org> on 2015/07/27 17:21:04 UTC
[jira] [Updated] (CAMEL-9026) ClassNotFoundException:
kafka.serializer.StringEncoder
[ https://issues.apache.org/jira/browse/CAMEL-9026?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Thomas Diesler updated CAMEL-9026:
----------------------------------
Component/s: camel-kafka
> ClassNotFoundException: kafka.serializer.StringEncoder
> ------------------------------------------------------
>
> Key: CAMEL-9026
> URL: https://issues.apache.org/jira/browse/CAMEL-9026
> Project: Camel
> Issue Type: Bug
> Components: camel-kafka
> Reporter: Thomas Diesler
> Fix For: 2.16.0
>
>
> KafkaEndpoint cannot load the StringEncoder because we do not expose the Kafka API to user code. It's an implementation detail of the camel-kafka component and only visible to that class loader
> {code}
> Caused by: java.lang.ClassNotFoundException: kafka.serializer.StringEncoder
> at org.apache.camel.impl.DefaultClassResolver.resolveMandatoryClass(DefaultClassResolver.java:80)
> at org.apache.camel.component.kafka.KafkaEndpoint.createProducer(KafkaEndpoint.java:83)
> at org.apache.camel.impl.ProducerCache.doGetProducer(ProducerCache.java:431)
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)