appchemist commented on code in PR #18800:
URL: https://github.com/apache/kafka/pull/18800#discussion_r2173635721
##########
streams/src/main/java/org/apache/kafka/streams/kstream/internals/InternalStreamsBuilder.java:
##########
@@ -100,14 +100,14 @@ public <K, V> KStream<K, V> stream(final
Collection<String> topics,
final String name = new
NamedInternal(consumed.name()).orElseGenerateWithPrefix(this,
KStreamImpl.SOURCE_NAME);
final StreamSourceNode<K, V> streamSourceNode = new
StreamSourceNode<>(name, topics, consumed);
+ streamSourceNode.requireRepartitionByKey();
Review Comment:
The original intent was `streamSourceNode.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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]