Skip to content

[DOCS] - Update the topic-level policies - #9161

Closed
sijia-w wants to merge 3 commits into
apache:masterfrom
sijia-w:fix-2688
Closed

sijia-w wants to merge 3 commits into
apache:masterfrom
sijia-w:fix-2688

Conversation

@sijia-w

@sijia-w sijia-w commented Jan 9, 2021 •

Copy link
Copy Markdown
Contributor

Fixes #8899

Update the description of the newly added topic-level policies in #2688.

@sijia-w

sijia-w commented Jan 9, 2021

Copy link
Copy Markdown
Contributor Author

@jennifer88huang Please help review. Thank you.

@Jennifer88huang-zz Jennifer88huang-zz added doc Your PR contains doc changes, no matter whether the changes are in markdown or code files. component/topic-policy labels Jan 10, 2021
@Jennifer88huang-zz Jennifer88huang-zz added this to the 2.8.0 milestone Jan 10, 2021
Comment thread site2/docs/reference-pulsar-admin.md Resolved

@Jennifer88huang-zz Jennifer88huang-zz left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

@sijia-w Thank you for your efforts.
Have you checked and added the new subcommands to the topics subcommand lists (from From L1769)?

Comment thread site2/docs/reference-pulsar-admin.md Resolved
@Jennifer88huang-zz

Copy link
Copy Markdown
Contributor

@sijia-w Thank you for your efforts.
Have you checked and added the new subcommands to the topics subcommand lists (from From L1769)?

@sijia-w I've added the subcommand list for topics in #9108

Comment thread site2/docs/reference-pulsar-admin.md Resolved

@freeznet freeznet left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Overall the PR is LGTM, but please refer to my reviews to verify

  • if the command supported already, if not, then we should remove the unsupported commands.
  • should we document the parameters for setter commands?

Comment thread site2/docs/reference-pulsar-admin.md Resolved
Comment thread site2/docs/reference-pulsar-admin.md Resolved
Comment thread site2/docs/reference-pulsar-admin.md Resolved
Comment thread site2/docs/reference-pulsar-admin.md Resolved
Comment thread site2/docs/reference-pulsar-admin.md Resolved
Comment thread site2/docs/reference-pulsar-admin.md Resolved
Comment thread site2/docs/reference-pulsar-admin.md Resolved
Comment thread site2/docs/reference-pulsar-admin.md Resolved
Comment thread site2/docs/reference-pulsar-admin.md Resolved
Comment thread site2/docs/reference-pulsar-admin.md Resolved
@sijia-w

sijia-w commented Jan 11, 2021

Copy link
Copy Markdown
Contributor Author

@freeznet @jennifer88huang Updated. Please take a look. Thank you.

### `get-deduplication`
Get a deduplication policy for a topic.
### `enable-deduplication`
Enable a deduplication policy for a topic.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

@what's the differences between enable-deduplication and get-deduplication-enabled?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

@freeznet I am not sure. Can you take a look at this question. Thank you.


### `set-max-unacked-messages-per-subscription`
Set maxUnackedMessagesPerSubscription for a topic.
### `set-max-unacked-messages-on-subscription`

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

set-max-unacked-messages-per-subscription

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

@freeznet Can you double confirm the changes?

```

### `get-max-producers`
### `get-maxProducers`

@Jennifer88huang-zz Jennifer88huang-zz Jan 12, 2021 •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

The correct form is :get-max-producers.
The code is not correct, eng will refine code.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

@freeznet Can you double confirm the changes?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

@sijia-w just as jennifer mentioned, there are some code errors should be fixed first. such as get-max-producers should be added to topic commands.

@Jennifer88huang-zz

Copy link
Copy Markdown
Contributor

@sijia-w It's time to update the docs now since #9215 is merged. Thank you.

@sijia-w sijia-w closed this Feb 8, 2021
zymap pushed a commit that referenced this pull request Mar 6, 2021
Fixes #8899

Update the description of the newly added topic-level policies in #2688.

This pr fixes #9161, the branch of which was deleted incorrectly.
mlyahmed pushed a commit to mlyahmed/pulsar that referenced this pull request Mar 7, 2021
Fixes apache#8899

Update the description of the newly added topic-level policies in apache#2688.

This pr fixes apache#9161, the branch of which was deleted incorrectly.
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. release/2.7.1

Projects

None yet

Development

Successfully merging this pull request may close these issues.

retention support per topic

3 participants