You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@beam.apache.org by "je-ik (via GitHub)" <gi...@apache.org> on 2026/08/01 09:31:01 UTC

Re: [PR] [GSoC 2026] Kafka Streams runner: run on a real broker, correctly across partitions [beam]

je-ik commented on code in PR #39546:
URL: https://github.com/apache/beam/pull/39546#discussion_r3695336097


##########
runners/kafka-streams/src/main/java/org/apache/beam/runners/kafka/streams/translation/FlattenTranslator.java:
##########
@@ -70,6 +73,7 @@ public void translate(
       String parentProcessor = context.getProcessorNameForPCollection(inputPCollectionId);
       parentProcessors.add(parentProcessor);
       upstreamTransformIds.add(parentProcessor);
+      partitionCount = Math.max(partitionCount, context.getPartitionCount(inputPCollectionId));

Review Comment:
   That would mean the Math.max() is reduntant then?



-- 
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: github-unsubscribe@beam.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org