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

[fix][doc] Misleading tip about retention, not mentioned topics policies. #622

Merged
merged 4 commits into from
Jul 4, 2023

Conversation

AlvaroStream
Copy link
Contributor

@AlvaroStream AlvaroStream commented Jun 27, 2023

Added information about topic retention policies on the tip.

It forgets to mention that there are actions that can be performed at topic level for retention and mislead that it can only be done at namespace level

  • doc
  • doc-required
  • doc-not-needed
  • doc-complete

Added information about topic retention policies
@github-actions github-actions bot added the doc Improvements or additions to documentation label Jun 27, 2023
@Anonymitaet
Copy link
Member

@gaoran10 Could you please review this PR from a technical perspective? Thank you!

@Anonymitaet Anonymitaet added this to the 3.1.0 milestone Jun 27, 2023
@@ -1073,7 +1073,7 @@ Pulsar has two features, however, that enable you to override this default behav

:::tip

All message retention and expiry are managed at the [namespace](#namespaces) level. For a how-to, see the [Message retention and expiry](cookbooks-retention-expiry.md) cookbook.
All message retention and expiry are managed at the [namespace](#namespaces) level or at topic level from Pulsar `2.6.0` activating `topicLevelPoliciesEnabled=true` at broker.conf. Since `2.11` that default value is `true`. For a how-to, see the [Message retention and expiry](cookbooks-retention-expiry.md) cookbook.
Copy link
Contributor

Choose a reason for hiding this comment

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

We introduce topic-level policies from 2.6.0, refer to apache/pulsar#4955, but I think we support retention policies at the topic level from 2.7.0, refer to apache/pulsar#7747.

Make the default value of the configuration topicLevelPoliciesEnabled as true from 2.11.0, refer to apache/pulsar#15619.

Not valid from 2.6.0 

Thanks @gaoran10

> We introduce topic-level policies from 2.6.0, refer to apache/pulsar#4955, but I think we support retention policies at the topic level from 2.7.0, refer to apache/pulsar#7747.

>Make the default value of the configuration topicLevelPoliciesEnabled as true from 2.11.0, refer to apache/pulsar#15619.
Co-authored-by: Anonymitaet <[email protected]>
@Anonymitaet Anonymitaet merged commit 21987cc into apache:main Jul 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
doc Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants