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

Remove config `partition.grouper` and interface `PartitionGrouper`

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.4.0
    • Component/s: streams
    • Labels:

      Description

      The `PartitionGrouper` interface was originally exposed to allow user a higher degree of flexibility with regard to partition to task mapping. However, Kafka Streams runtime employs many undocumented restrictions to write a correct `PartitionGrouper` and hence it is easy for users to break the runtime that way.

      In practice, we have not seen the usage of the interface. Hence, we should consider to deprecate and eventually remove it.

      KIP-528: https://cwiki.apache.org/confluence/display/KAFKA/KIP-528%3A+Deprecate+PartitionGrouper+configuration+and+interface

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                mjsax Matthias J. Sax
                Reporter:
                mjsax Matthias J. Sax
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: