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

camel-kafka producer has problems loading serializers in OSGi

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.17.2
    • camel-kafka
    • None
    • Unknown

    Description

      See https://issues.apache.org/jira/browse/KAFKA-3218

      If the contextClassLoader is set, Kafka only uses that when looking for the dynamically loaded classes. That means the users application bundle must import those classes which may not be the case since they are generally just configured in as strings. We could pre-process those strings to check not just the application context but also the camel-kafka classloader and the kafka classloader so that the default serializers can be found.

      Attachments

        Issue Links

          Activity

            People

              dkulp Daniel Kulp
              dkulp Daniel Kulp
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: