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 2022/07/14 10:04:54 UTC

[GitHub] [pulsar] mouchar commented on issue #10972: `subscriptionExpirationTimeMinutes` option is not working

mouchar commented on issue #10972:
URL: https://github.com/apache/pulsar/issues/10972#issuecomment-1184251475

   It also happened to us after upgrading from pulsar 2.7.x to 2.9.2.
   The problem is that existing namespaces have subscriptionExpirationTimeMinutes set to `0` instead of `null`.
   
   The fix is to remove the setting by `pulsar-admin namespaces remove-subscription-expiration-time tenant/namespace`.
   Then, all stale subscriptions without consumers were automatically deleted without any user intervention.
   
   Newly created namespaces have this value set to null, so only existing namespaces are affected.
   


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

To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org

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