Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-9026

ClassNotFoundException: kafka.serializer.StringEncoder

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.16.0
    • camel-kafka
    • 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)
      

      Attachments

        Activity

          People

            acosentino Andrea Cosentino
            tdiesler Thomas Diesler
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: