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

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

Agile BoardAttach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

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

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              jenskordowski Jens Kordowski

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment