Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

improvement doc of --auth-params in pulsar-client cli #3605

Merged
merged 3 commits into from Feb 22, 2019

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

@@ -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.

None yet

3 participants