[
https://issues.apache.org/jira/browse/KAFKA-9377?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17128366#comment-17128366
]
feyman commented on KAFKA-9377:
-------------------------------
[~bchen225242] Created a PR [https://github.com/apache/kafka/pull/8832] for
this :)
> 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: feyman
> 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)