appchemist commented on code in PR #18800:
URL: https://github.com/apache/kafka/pull/18800#discussion_r2173638130


##########
streams/src/main/java/org/apache/kafka/streams/kstream/internals/KStreamImpl.java:
##########
@@ -531,6 +522,7 @@ private KStream<K, V> doRepartition(final Repartitioned<K, 
V> repartitioned) {
         );
 
         final UnoptimizableRepartitionNode<K, V> unoptimizableRepartitionNode 
= unoptimizableRepartitionNodeBuilder.build();
+        unoptimizableRepartitionNode.requireRepartitionByKey();

Review Comment:
   fixed it.
   The original intent was 
`unoptimizableRepartitionNode.requireNotRepartition()`, but it was incorrectly 
modified during the refactoring process.



-- 
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

Reply via email to