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:
us...@infra.apache.org


Reply via email to