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

camel-kafka - decouple kafka.PARTITION_KEY from kafka.KEY

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.7.0, 2.25.3
    • 3.10.0
    • camel-kafka
    • None
    • Unknown

    Description

      Currently, the camel-kafka producer requires the definition of kafka.PARTITION_KEY and kafka.KEY to specify the partition to send to. While the key is usually used to determine the partition to send to, I don't understand the hard limitation on this header, when specifically defining the exact partition to send to anyway (via kafka.PARTITION_KEY).

      Also, this is not clearly stated in the documentation.

      Not sure, if this qualifies as bug or improvement, looks like a limitation to me. I can create a PR, if desired.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              jenskordowski Jens Kordowski
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: