Skip to content

Conversation

@horizonzy
Copy link
Member

@horizonzy horizonzy commented Jun 30, 2022

Fixes #15771

Documentation

  • doc-required
    (Your PR needs to update docs and you will update later)

  • doc-not-needed
    (Please explain why)

  • doc
    (Your PR contains doc changes)

  • doc-complete
    (Docs have been already added)

@github-actions
Copy link

@horizonzy Please provide a correct documentation label for your PR.
Instructions see Pulsar Documentation Label Guide.

@github-actions github-actions bot added doc-not-needed Your PR changes do not impact docs and removed doc-label-missing labels Jun 30, 2022
@horizonzy
Copy link
Member Author

@urfreespace pls check it, thanks.

@urfreespace
Copy link
Member

@urfreespace pls check it, thanks.

pulsar-admin/pulsar-client/pulsar-perf/pulsar all need to be fixed, I think they are different cmd class file

@horizonzy
Copy link
Member Author

Run pulsar-admin configFile documents generate functions at local.
Before this change output:
Before.txt

After this change output:
After.txt

@horizonzy
Copy link
Member Author

@urfreespace pls check it, thanks.

pulsar-admin/pulsar-client/pulsar-perf/pulsar all need to be fixed, I think they are different cmd class file

Thanks your reminder, the new commit pushed.

@horizonzy
Copy link
Member Author

@Anonymitaet @momo-jun Pls confirm shall we ignore the ServiceConfiguration deprecated param.

for (Field field : fields) {
FieldContext fieldContext = field.getAnnotation(FieldContext.class);
if (fieldContext == null) {
if (fieldContext == null || fieldContext.deprecated()) {
Copy link
Member Author

Choose a reason for hiding this comment

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

@urfreespace Pls help check this change, shall we ignore the FileContext.deprecated param.

Copy link
Member

Choose a reason for hiding this comment

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

@Anonymitaet any idea? I think it's not a tech question

Copy link
Member

Choose a reason for hiding this comment

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

@urfreespace I've discussed w/ @horizonzy, we'll use the parameter hidden to determine whether show a flag or not (and ignore the deprecated parameter). I'll huddle w/ u tmr.

@Anonymitaet Anonymitaet mentioned this pull request Jul 1, 2022
4 tasks
@github-actions github-actions bot added doc Your PR contains doc changes, no matter whether the changes are in markdown or code files. and removed doc-not-needed Your PR changes do not impact docs labels Jul 1, 2022
@Anonymitaet
Copy link
Member

/pulsarbot run-failure-checks

1 similar comment
@Anonymitaet
Copy link
Member

/pulsarbot run-failure-checks

@Anonymitaet Anonymitaet merged commit 8b5bdb3 into apache:master Jul 1, 2022
Nicklee007 pushed a commit to Nicklee007/pulsar that referenced this pull request Jul 5, 2022
wuxuanqicn pushed a commit to wuxuanqicn/pulsar that referenced this pull request Jul 14, 2022
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.

[Doc] Auto-hide deprecated parameters in Pulsar admin CLI docs

3 participants