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

Kafka: producer lookup the destination topic in the message header

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.13.0
    • Fix Version/s: 2.13.1, 2.14.0
    • Component/s: None
    • Labels:
    • Patch Info:
      Patch Available
    • Estimated Complexity:
      Moderate

      Description

      Hello,
      By default, a kafka producer is not tied to a specific topic.
      The topic is related to each message.
      Instead of having to specify the topic in the endpoint definition, we can define the topic as a message header.
      If no topic is defined in the message then we fall back to the topic defined in the endpoint if any.

      I created a pull request in github for this improvement, here is the link : https://github.com/apache/camel/pull/121

        Attachments

          Activity

            People

            • Assignee:
              davsclaus Claus Ibsen
              Reporter:
              fchaillou Fabien Chaillou
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: