You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2020/07/29 07:21:28 UTC

[GitHub] [pulsar] srkukarni commented on a change in pull request #7681: Added ability to specify runtime for localrunner

srkukarni commented on a change in pull request #7681:
URL: https://github.com/apache/pulsar/pull/7681#discussion_r461744282



##########
File path: pulsar-client-tools/src/main/java/org/apache/pulsar/admin/cli/CmdFunctions.java
##########
@@ -618,6 +618,8 @@ protected void validateFunctionConfigs(FunctionConfig functionConfig) {
         protected Integer DEPRECATED_instanceIdOffset = null;
         @Parameter(names = "--instance-id-offset", description = "Start the instanceIds from this offset")
         protected Integer instanceIdOffset = 0;
+        @Parameter(names = "--runtime", description = "either THREAD or PROCESS. Only applies for Java functions")
+        protected String runtime = "THREAD";

Review comment:
       Changed




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

For queries about this service, please contact Infrastructure at:
users@infra.apache.org