mirror of https://github.com/apache/kafka.git
CI / build (push) Waiting to run
Details
- A new method `assignablePartitions` was added to the `SubscribedTopicDescriber`in https://github.com/apache/kafka/pull/19026. This method was required for computing assignments for share groups (KIP-932). - However, since the describer is a public interface and is used to encapsulate methods which return all subscribed partitions (KIP-848), `assignablePartitions` is deemed inconsistent with this interface. - Hence, this PR extends the `GroupSpec` interface to add a method `isPartitionAssignable` which will serve the same purpose. The `assignablePartitions` has been removed from the describer. - Tests have been updated for the assigners and spec and removed from describer as required. Reviewers: Andrew Schofield <aschofield@confluent.io>, David Jacot <djacot@confluent.io> |
||
---|---|---|
.. | ||
group-coordinator-api/src/main/java/org/apache/kafka/coordinator/group/api/assignor | ||
src | ||
.gitignore |