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

Remove PartitionGrouper interface and it's config and move DefaultPartitionGrouper to internal package

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Blocker
    • Resolution: Unresolved
    • Affects Version/s: 2.1.0
    • Fix Version/s: 3.0.0
    • Component/s: streams
    • Labels:
      None

      Description

      Since DefaultPartitionGrouper is only for the purpose of the internal StreamsPartitionAssignor it would make sense to have it in the org.apache.kafka.streams.processor.internals package.

      I would also vote to move PartitionGrouper.

      Via KAFKA-8927 we deprecated the `PartitionGrouper` interface in 2.4 release – this allows us to remove the public interface and its corresponding config in the next major release (ie, 3.0.0). `DefaultPartitionGrouper` was implicitly deprecated via KAFKA-8927.

      Hence, we can move the interface as well as the default implementation into an internal package (or maybe just remove the interface completely as there are no plans to support multiple implementations atm).

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                jlaskowski Jacek Laskowski
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated: