JozoVilcek commented on code in PR #34734:
URL: https://github.com/apache/beam/pull/34734#discussion_r2059622209


##########
runners/flink/src/main/java/org/apache/beam/runners/flink/translation/wrappers/streaming/SplittableDoFnOperator.java:
##########
@@ -104,6 +108,10 @@ public SplittableDoFnOperator(
         keySelector,
         DoFnSchemaInformation.create(),
         Collections.emptyMap());
+
+    FlinkPipelineOptions flinkOpts = options.as(FlinkPipelineOptions.class);
+    this.maxBundleSize = (int) Math.min(Integer.MAX_VALUE, 
flinkOpts.getMaxBundleSize());

Review Comment:
   Why this can not rely on defaults from FlinkOpts and just take in the value?



-- 
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-unsubscr...@beam.apache.org

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

Reply via email to