kafka/group-coordinator
Sushant Mahajan 383a9ff9df
CI / build (push) Waiting to run Details
KAFKA-19344: Replace desc.assignablePartitions with spec.isPartitionAssignable. (#19838)
- 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>
2025-05-28 20:27:29 +01:00
..
group-coordinator-api/src/main/java/org/apache/kafka/coordinator/group/api/assignor KAFKA-19344: Replace desc.assignablePartitions with spec.isPartitionAssignable. (#19838) 2025-05-28 20:27:29 +01:00
src KAFKA-19344: Replace desc.assignablePartitions with spec.isPartitionAssignable. (#19838) 2025-05-28 20:27:29 +01:00
.gitignore KAFKA-14363; Add new `group-coordinator` module (KIP-848) (#12827) 2022-11-09 08:49:57 +01:00