Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-3333

Alternative Partitioner to Support "Always Round-Robin" partitioning

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

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.4.0
    • clients

    Description

      KIP: https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=89070828

      Please Look into KAFKA-7358 for the official description **

      The DefaultPartitioner typically distributes using the hash of the keybytes, and falls back to round robin if there is no key. But there is currently no way to do Round Robin partitioning if you have keys on your messages without writing your own partitioning implementation.

      I think it'd be helpful to have an implementation of straight Round Robin partitioning included with the library.

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            manmedia@gmail.com M. Manna
            spowis@salesforce.com Stephen Powis
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

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

                Slack

                  Issue deployment