[ 
https://issues.apache.org/jira/browse/CAMEL-9026?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14642888#comment-14642888
 ] 

Andrea Cosentino commented on CAMEL-9026:
-----------------------------------------

Thank you very much Thomas :-)

> 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
>            Assignee: Andrea Cosentino
>             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)

Reply via email to