You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "jeffkbkim (via GitHub)" <gi...@apache.org> on 2023/04/12 16:03:18 UTC

[GitHub] [kafka] jeffkbkim commented on pull request #13524: MINOR: Refine `PartitionAssignor` server-side interface

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-unsubscribe@kafka.apache.org

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