-
Notifications
You must be signed in to change notification settings - Fork 171
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
Conversation
Added information about topic retention policies
@gaoran10 Could you please review this PR from a technical perspective? Thank you! |
@@ -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. |
There was a problem hiding this comment.
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]>
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 leveldoc
doc-required
doc-not-needed
doc-complete