FANNG1 commented on code in PR #7772:
URL: https://github.com/apache/gravitino/pull/7772#discussion_r2227229903


##########
core/src/main/java/org/apache/gravitino/Configs.java:
##########
@@ -413,4 +413,14 @@ private Configs() {}
           .version(ConfigConstants.VERSION_1_0_0)
           .stringConf()
           .createWithDefault("/tmp/gravitino/jobs/staging");
+
+  public static final ConfigEntry<String> JOB_EXECUTOR =
+      new ConfigBuilder("gravitino.job.executor")
+          .doc(
+              "The executor to run jobs, by default it is 'local', user can 
implement their own "
+                  + "executor and set it here.")
+          .version(ConfigConstants.VERSION_1_0_0)
+          .stringConf()
+          .checkValue(StringUtils::isNotBlank, 
ConfigConstants.NOT_BLANK_ERROR_MSG)

Review Comment:
   remove nullable check here because there is a default `local` option.



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