dajac opened a new pull request, #23736: URL: https://github.com/apache/kafka/pull/23736
Depends on #23735: only the last commit belongs to this PR. Once uniform2 has decided how many partitions of every topic each member gets, it places the partitions. This patch adds `PartitionPlacement`, which places the partitions of a topic on its subscribers, moving as few partitions as possible: every owner keeps its partitions up to its share, the lowest partition ids first, and the other partitions go to the subscribers below their share, in member order. A partition thus moves only when its owner's share is below what it owns. The placement tells when nothing moves, so that the topic can keep its sets of partitions. -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
