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 2021/04/07 04:30:44 UTC

[GitHub] [pulsar] srkukarni commented on a change in pull request #10156: Exposing prometheus metrics for Pulsar function local run mode

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



##########
File path: pulsar-functions/localrun/src/main/java/org/apache/pulsar/functions/LocalRunner.java
##########
@@ -569,15 +582,20 @@ private void startThreadedMode(org.apache.pulsar.functions.proto.Function.Functi
             instanceConfig.setFunctionId(UUID.randomUUID().toString());
             instanceConfig.setInstanceId(i + instanceIdOffset);
             instanceConfig.setMaxBufferedTuples(1024);
-            instanceConfig.setPort(FunctionCommon.findAvailablePort());

Review comment:
       What about this?




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