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 2021/01/25 09:26:20 UTC

[GitHub] [pulsar] uestczshen opened a new issue #9307: subscriptionExpiration for topic

uestczshen opened a new issue #9307:
URL: https://github.com/apache/pulsar/issues/9307


   for some reasons, my subscriptionName changes when my server restarts. But the old subname still exists in pulsar-server and alarms messages heap up.   so maybe there should be expire policies for unused subscription.


----------------------------------------------------------------
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] jiazhai commented on issue #9307: subscriptionExpiration for topic

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


   Yes, there is ttl policy for this: https://pulsar.apache.org/docs/en/cookbooks-retention-expiry/
   This is a kind of question, would like to close this issue, if the ttl policy could not solve your issue, feel free to reopen 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] jiazhai commented on issue #9307: subscriptionExpiration for topic

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


   Yes, there is ttl policy for this: https://pulsar.apache.org/docs/en/cookbooks-retention-expiry/
   This is a kind of question, would like to close this issue, if the ttl policy could not solve your issue, feel free to reopen 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] jiazhai closed issue #9307: subscriptionExpiration for topic

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


   


----------------------------------------------------------------
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] jiazhai closed issue #9307: subscriptionExpiration for topic

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


   


----------------------------------------------------------------
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] nkurihar commented on issue #9307: subscriptionExpiration for topic

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


   @uestczshen 
   `subscriptionExpirationTimeMinutes` seems to help you:
   https://github.com/apache/pulsar/blob/2dc24705efe61fdfca3315edb29946d3a0a9e599/conf/broker.conf#L178-L180
   
   This setting can be enabled at broker level or namespace level.
   cf: https://github.com/apache/pulsar/pull/6851


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