jianyun8023 commented on issue #8009:
URL: https://github.com/apache/pulsar/issues/8009#issuecomment-697635653


   The root of this problem is that PulsarAdmin does not support multiple 
multiple service url address.
   I think the solution to this problem is to **add validation of the 
`serviceHttpUrl` parameter**.
   @sijie @codelipenghui @zymap Everyone, do you think how to solve this 
problem is better?
   
   for example:
   ```
   final PulsarAdmin admin = PulsarAdmin.builder()
       .serviceHttpUrl("http://localhost:8080,http://localhost:8081";)
       .build();
   FunctionConfig functionConfig = buildFunctionConfig();
   admin.functions().createFunction(functionConfig, 
"pulsar-functions-api-examples.jar");
   ```


----------------------------------------------------------------
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:
[email protected]


Reply via email to