cshuo commented on code in PR #13592:
URL: https://github.com/apache/hudi/pull/13592#discussion_r2266144356


##########
hudi-flink-datasource/hudi-flink/src/main/java/org/apache/hudi/configuration/FlinkOptions.java:
##########
@@ -389,6 +389,14 @@ private FlinkOptions() {
           + "the avg read instants number per-second would be 
'read.commits.limit'/'read.streaming.check-interval', by "
           + "default no limit");
 
+  public static final ConfigOption<Integer> READ_SPLITS_LIMIT = ConfigOptions
+      .key("read.splits.limit")
+      .intType()
+      .defaultValue(Integer.MAX_VALUE)
+      .withDescription("The maximum number of splits allowed to read in each 
instant check, if it is streaming read, "
+          + "the avg read splits number per-second would be 
'read.splits.limit'/'read.streaming.check-interval', by "
+          + "default no limit and limit takes effect only when it is greater 
than 0");

Review Comment:
   Seems we currently have no checking for 'greater than 0'. 



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

Reply via email to