appchemist commented on code in PR #18800: URL: https://github.com/apache/kafka/pull/18800#discussion_r2173649863
########## streams/src/main/java/org/apache/kafka/streams/kstream/internals/graph/GraphNode.java: ########## @@ -93,6 +98,14 @@ public String nodeName() { return nodeName; } + public boolean canResolveRepartition() { + return keyChangingOperation || repartition != Repartition.NOT_REQUIRED; + } + + public boolean isRepartitionRequired() { + return keyChangingOperation || repartition == Repartition.ALWAYS_REQUIRED; Review Comment: You can find the explanation for why `Repartition.REQUIRED` is necessary in the [linked reference.](https://github.com/apache/kafka/pull/18800#discussion_r2173641799) -- 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