Skip to content

Conversation

jiazhai
Copy link
Member

@jiazhai jiazhai commented Feb 15, 2019

Motivation

User report documentation is not very clear for pulsar-client command --auth-params parameter.
for org.apache.pulsar.client.impl.auth.AuthenticationBasic, it is in Json format

Modifications

fix doc

@jiazhai jiazhai requested review from merlimat and sijie February 15, 2019 12:01
@@ -288,7 +288,7 @@ Commands
Options
|Flag|Description|Default|
|---|---|---|
|`--auth-params`|Authentication parameters, for example key1:val1,key2:val2||
|`--auth-params`|Authentication parameters, whose format is determined by the implementation of method `configure` in authentication plugin class, for example "key1:val1,key2:val2" or "{\"key1\":\"val1\",\"key2\":\"val2\"}"||
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should also fix the same description in the JCommander help string that is shown when using the tool

@merlimat merlimat added this to the 2.4.0 milestone Feb 15, 2019
@merlimat merlimat added the doc Your PR contains doc changes, no matter whether the changes are in markdown or code files. label Feb 15, 2019
@jiazhai
Copy link
Member Author

jiazhai commented Feb 20, 2019

rerun integration tests

diff.patch Outdated
@@ -0,0 +1,106 @@
diff --git pulsar-client-tools/src/main/java/org/apache/pulsar/admin/cli/PulsarAdminTool.java pulsar-client-tools/src/main/java/org/apache/pulsar/admin/cli/PulsarAdminTool.java
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jiazhai it seems you are adding diff.patch by mistake?

@sijie sijie merged commit d0edfe4 into apache:master Feb 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
doc Your PR contains doc changes, no matter whether the changes are in markdown or code files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants