Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-9610

Add Kafka partitioner that uses the key to partition by

    XMLWordPrintableJSON

Details

    Description

      The kafka connector package only contains the FlinkFixedPartitioner implementation of the FlinkKafkaPartitioner.

      The most common usecase I have seen is the need to spread the records across the Kafka partitions while keeping all messages with the same key together.

      I'll put up a pull request with a very simple implementation that should make this a lot easier for others to use and extend.

      Attachments

        Issue Links

          Activity

            People

              nielsbasjes Niels Basjes
              nielsbasjes Niels Basjes
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 10m
                  10m