[ https://issues.apache.org/jira/browse/KAFKA-9377?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Boyang Chen updated KAFKA-9377: ------------------------------- Description: The current repartition count uses a big while loop to randomly initialize each repartition topic counts, which is error-prone and hard to maintain. A more intuitive and robust solution would be doing a DFS search from bottom-up, where we initialize all the sink nodes repartition topic counts by making sure all their parents are initialized. > Refactor StreamsPartitionAssignor Repartition Count logic > --------------------------------------------------------- > > Key: KAFKA-9377 > URL: https://issues.apache.org/jira/browse/KAFKA-9377 > Project: Kafka > Issue Type: Improvement > Components: streams > Reporter: Boyang Chen > Assignee: Boyang Chen > Priority: Major > > The current repartition count uses a big while loop to randomly initialize > each repartition topic counts, which is error-prone and hard to maintain. A > more intuitive and robust solution would be doing a DFS search from > bottom-up, where we initialize all the sink nodes repartition topic counts by > making sure all their parents are initialized. -- This message was sent by Atlassian Jira (v8.3.4#803005)