tsasaki609 opened a new issue #5407: pulsar-client should support JSON in 
authparams
URL: https://github.com/apache/pulsar/issues/5407
 
 
   **Is your feature request related to a problem? Please describe.**
   I'm always frustrated when using pulsar-client of Pulsar CLI tools.
   This is because it is easy to misunderstand that JSON can be set as 
auth-params.
   
   > for example "key1:val1,key2:val2" or "{"key1":"val1","key2":"val2"}"
   
   https://pulsar.apache.org/docs/en/reference-cli-tools/#pulsar-client
   
   Since it is written like this, it seems that JSON can be set at first glance.
   However, tabs, indents and line breaks are not allowed.
   
   The implementation is this code, as I looked up.
   
https://github.com/apache/pulsar/blob/master/pulsar-client/src/main/java/org/apache/pulsar/client/impl/AuthenticationUtil.java#L47-L52
   
   **Describe the solution you'd like**
   Tabs, indents, and line breaks should be allowed. Or is there any reason why 
you can't do that?

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


With regards,
Apache Git Services

Reply via email to