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 2018/09/07 05:34:13 UTC

[GitHub] hrsakai opened a new pull request #2541: Enclose client_auth_params value in single quotes

hrsakai opened a new pull request #2541: Enclose client_auth_params value in single quotes
URL: https://github.com/apache/incubator-pulsar/pull/2541
 
 
   ### Motivation
   Currently,  we can't specify json string to `clientAuthenticationParameters` in `functions_worker.yaml` because we can't pass it to`instance` correctly.
   ```
   # functions_worker.yaml
   clientAuthenticationPlugin: org.apache.pulsar.client.impl.auth.AuthenticationAthenz
   clientAuthenticationParameters: '{"tenantDomain":"aa"....}'
   
   # instance process
   java -cp /path/to/java-instance.jar ...... --client_auth_params {"tenantDomain":"aa"....} --use_tls false ....
   ```
   
   
   ### Modifications
   Enclose `client_auth_params` value in single quotes.
   ```
   # process
   java -cp /path/to/java-instance.jar ...... --client_auth_params '{"tenantDomain":"aa"....}' --use_tls false ....
   
   ```
   
   ### Result
    We can specify json string to `clientAuthenticationParameters` in `functions_worker.yaml` 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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


With regards,
Apache Git Services