You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2020/12/10 11:27:26 UTC

[GitHub] [pulsar] kemburi opened a new issue #8899: retention support per topic

kemburi opened a new issue #8899:
URL: https://github.com/apache/pulsar/issues/8899


   **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.
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [pulsar] codelipenghui closed issue #8899: retention support per topic

Posted by GitBox <gi...@apache.org>.
codelipenghui closed issue #8899:
URL: https://github.com/apache/pulsar/issues/8899


   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [pulsar] Jennifer88huang commented on issue #8899: retention support per topic

Posted by GitBox <gi...@apache.org>.
Jennifer88huang commented on issue #8899:
URL: https://github.com/apache/pulsar/issues/8899#issuecomment-757666526


   @kemburi thanks for your feedback. We'll close this issue when those two PRs are merged.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [pulsar] kemburi commented on issue #8899: retention support per topic

Posted by GitBox <gi...@apache.org>.
kemburi commented on issue #8899:
URL: https://github.com/apache/pulsar/issues/8899#issuecomment-742466355


   we are using pulsar client 2.6.1


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [pulsar] kemburi commented on issue #8899: retention support per topic

Posted by GitBox <gi...@apache.org>.
kemburi commented on issue #8899:
URL: https://github.com/apache/pulsar/issues/8899#issuecomment-757654304


   thank you, you might close this issue.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [pulsar] sijie commented on issue #8899: retention support per topic

Posted by GitBox <gi...@apache.org>.
sijie commented on issue #8899:
URL: https://github.com/apache/pulsar/issues/8899#issuecomment-742944683


   @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 


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [pulsar] Jennifer88huang commented on issue #8899: retention support per topic

Posted by GitBox <gi...@apache.org>.
Jennifer88huang commented on issue #8899:
URL: https://github.com/apache/pulsar/issues/8899#issuecomment-757483309


   @kemburi sorry for my late reply. You can set topic-level retention using `bin/pulsar-admin topics`. 
   For details, refer to https://github.com/apache/pulsar/pull/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. 
   
   ```shell
   systemTopicEnabled=true
   topicLevelPoliciesEnabled=true
   ```
   
   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.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org