appchemist commented on code in PR #18800:
URL: https://github.com/apache/kafka/pull/18800#discussion_r2658788980
##########
streams/src/main/java/org/apache/kafka/streams/kstream/internals/graph/GraphNode.java:
##########
@@ -93,6 +99,23 @@ public String nodeName() {
return nodeName;
}
+ public boolean canDetermineRepartition() {
+ return keyChangingOperation || repartitionForbidden ||
repartitionRequired;
+ }
+
+ public boolean isRepartitionRequired() {
+ final GraphNode find =
findNearestParentNodeMatching(GraphNode::canDetermineRepartition);
Review Comment:
For now, I removed anything that is not directly related in order to focus
solely on this issue.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]