You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your enhancement request related to a problem? Please describe.
We have some complex calculations to be performed on specific topics and those calculations are not finishing within the retention period configured. hence we see data loss. since only on few of the topics we need to these calcuations to be performed we dont want to set retention globally for all topics.
Describe the solution you'd like
Need the ability to configure message retention to be configurable per topic to override global setting. Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.
@kemburi topic-level policy (including retention settings) are supported in 2.7.0. You can use bin/pulsar-admin topics to set topic-level retention. The documentation for topic-level policy is being added by @jennifer88huang
@kemburi sorry for my late reply. You can set topic-level retention using bin/pulsar-admin topics.
For details, refer to #9161
From Pulsar 2.7.0, the namespace level policies are available on topic level. To enable topic level policy in Pulsar, you need to configure the following parameters in the broker.conf file.
I've added this configuration in #9108
Once those PRs are merged, all available topic-level policies are live on our website. Thank you for your patience on it. Any issue, feel free to comment.
Activity
kemburi commentedon Dec 10, 2020
we are using pulsar client 2.6.1
sijie commentedon Dec 11, 2020
@kemburi topic-level policy (including retention settings) are supported in 2.7.0. You can use
bin/pulsar-admin topicsto set topic-level retention. The documentation for topic-level policy is being added by @jennifer88huangJennifer88huang-zz commentedon Jan 10, 2021
@kemburi sorry for my late reply. You can set topic-level retention using
bin/pulsar-admin topics.For details, refer to #9161
From Pulsar 2.7.0, the namespace level policies are available on topic level. To enable topic level policy in Pulsar, you need to configure the following parameters in the
broker.conffile.I've added this configuration in #9108
Once those PRs are merged, all available topic-level policies are live on our website. Thank you for your patience on it. Any issue, feel free to comment.
kemburi commentedon Jan 11, 2021
thank you, you might close this issue.
Jennifer88huang-zz commentedon Jan 11, 2021
@kemburi thanks for your feedback. We'll close this issue when those two PRs are merged.
[DOCS] - Update the topic-level policies (#9530)
[DOCS] - Update the topic-level policies (apache#9530)