Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
Unknown
Description
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
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)