Samrat002 commented on code in PR #27617:
URL: https://github.com/apache/flink/pull/27617#discussion_r2815681208
##########
flink-core/src/main/java/org/apache/flink/configuration/CoreOptions.java:
##########
@@ -567,4 +567,24 @@ public static ConfigOption<Long>
fileSystemConnectionLimitStreamInactivityTimeou
.longType()
.defaultValue(0L);
}
+
+ /**
+ * Explicitly resolves the conflict between multiple FileSystemFactory
implementations when
+ * multiple jars are loaded for the same schema. Primary use is to allow
configuration based
+ * migration between file systems without the need to build separate
images.
+ *
+ * <p>Config key pattern: {@code fs.<scheme>.priority.<factoryClassName>}
+ */
+ public static ConfigOption<Integer> fileSystemFactoryPriority(String
scheme, String className) {
+ return ConfigOptions.key("fs." + scheme + ".priority." + className)
Review Comment:
sounds good
--
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]