You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by GitBox <gi...@apache.org> on 2020/05/01 02:20:06 UTC

[GitHub] [kafka] vvcephei edited a comment on pull request #8588: [WIP] KAFKA-6145: KIP-441: Validate balanced assignment

vvcephei edited a comment on pull request #8588:
URL: https://github.com/apache/kafka/pull/8588#issuecomment-622137407


   Thanks @ableegoldman !
   
   Regarding the client-capacity-vs-thread-capacity dilemma, I think I'm remembering that conversation a little differently. I thought:
   * in the "under capacity" case (where all clients have more threads than tasks), we would assign an equal number of tasks to all clients.
   * in the "over+under capacity" case (where some clients have more threads than others and a uniform assignment would saturate the smallest node, but there are still more total _threads_ in the cluster than tasks), then we'll assign tasks such that no node is over capacity.
   * in the "over capacity" case (where there are more tasks than threads), then we first fill up everyone's capacity, and then go back to a simple round-robin over _clients_.
   


----------------------------------------------------------------
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.

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