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


With regards,
Apache Git Services

Reply via email to