jeffkbkim commented on PR #13524:
URL: https://github.com/apache/kafka/pull/13524#issuecomment-1505542589

   > We need to add a way to provide the racks. One way would be to augment 
AssignmentTopicMetadata with them. Another way would be to pass 
ClusterDescriber interface to PartitionAssignor#assign. The interface would 
then have a method to get the number of partitions for a topic id and a method 
to get the racks for a topic id/partition id. What do you think? cc @jeffkbkim
   
   this makes sense to me. it will be used for both assignors


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