emilymye commented on a change in pull request #15478:
URL: https://github.com/apache/beam/pull/15478#discussion_r708487397
##########
File path:
runners/google-cloud-dataflow-java/src/main/java/org/apache/beam/runners/dataflow/options/DataflowPipelineDebugOptions.java
##########
@@ -230,6 +230,28 @@ public Dataflow create(PipelineOptions options) {
void setReaderCacheTimeoutSec(Integer value);
+ /** The max amount of time an UnboundedReader is consumed before
checkpointing. */
+ @Description(
+ "The max amount of time before an UnboundedReader is consumed before
checkpointing, in seconds.")
+ @Default.Integer(10)
+ Integer getUnboundedReaderMaxReadTimeSec();
+
+ void setUnboundedReaderMaxReadTimeSec(Integer value);
+
+ /** The max elements read from an UnboundedReader before checkpointing. */
+ @Description("The max elements read from an UnboundedReader before
checkpointing. ")
+ @Default.Integer(10 * 1000)
Review comment:
Any reason why `10*1000` vs `1000`?
--
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]