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

Camel Kafka component builds Producer topic off of message instead of to() URI

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 2.15.0, 2.15.1, 2.15.2, 2.15.3
    • Fix Version/s: None
    • Component/s: camel-kafka
    • Labels:
      None
    • Environment:

      All

      Description

      It was noticed in camel-kafka 2.15.3 that the KafkaProducer was reading the kafka.TOPIC off of the Exchange envelope instead of reading it off of the configured KafkaEndpoint/Configuration which subsequently breaks the ability to route messages from a Kafka topic to a Kafka topic based upon a Predicate.

      ```
      from("kafka:localhost:9092?topic=A&groupId=B....").to("kafka:localhost:9092?topic=B.....")
      ```

      I've created a pull request on github that addresses this issue:
      https://github.com/apache/camel/pull/597

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                williamd1618 Daniel Williams
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 24h
                  24h
                  Remaining:
                  Remaining Estimate - 24h
                  24h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified