beliefer commented on code in PR #26326:
URL: https://github.com/apache/flink/pull/26326#discussion_r2009874068


##########
flink-core/src/main/java/org/apache/flink/configuration/CoreOptions.java:
##########
@@ -527,23 +527,41 @@ public static String[] mergeListsToArray(List<String> 
base, List<String> append)
      * open. Unlimited be default.
      */
     public static ConfigOption<Integer> fileSystemConnectionLimit(String 
scheme) {
-        return ConfigOptions.key("fs." + scheme + 
".limit.total").intType().defaultValue(-1);
+        return ConfigOptions.key("fs." + scheme + ".limit.total")
+                .intType()
+                .defaultValue(-1)
+                .withDescription(
+                        "The connection limit for the file system "
+                                + scheme
+                                + ". The valid value must >= -1. Values of -1 
or 0 mean there is no connection limit.");
     }
 
     /**
      * The total number of input connections that a file system for the given 
scheme may open.
      * Unlimited be default.
      */
     public static ConfigOption<Integer> fileSystemConnectionLimitIn(String 
scheme) {
-        return ConfigOptions.key("fs." + scheme + 
".limit.input").intType().defaultValue(-1);
+        return ConfigOptions.key("fs." + scheme + ".limit.input")

Review Comment:
   This is a good idea. But I'm not sure if it is worth!



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