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

camel-kafka producer has problems loading serializers in OSGi

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.17.2
    • Component/s: camel-kafka
    • Labels:
      None
    • Estimated Complexity:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: