smjn opened a new pull request, #19838:
URL: https://github.com/apache/kafka/pull/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.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: jira-unsubscr...@kafka.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to