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/05/07 11:46:24 UTC

[GitHub] [pulsar] alexku7 commented on issue #6887: ttlDurationDefaultInSeconds is not applied

alexku7 commented on issue #6887:
URL: https://github.com/apache/pulsar/issues/6887#issuecomment-625205116


   Hi
   Here are the steps for reproduce the issue:
   1. Check that the default value is configured in the broker's config:
   
   root@pulsar-bastion-5db9984cf8-w8stw:/pulsar/bin# ./pulsar-admin brokers get-runtime-config | grep ttlDurationDefaultInSeconds
     "ttlDurationDefaultInSeconds" : "3600",
   
   2. create a new namescpace:
   
   root@pulsar-bastion-5db9984cf8-w8stw:/pulsar/bin# ./pulsar-admin namespaces create internal/test44
   
   3. check the policy on the new created namespace:
   
   root@pulsar-bastion-5db9984cf8-w8stw:/pulsar/bin# ./pulsar-admin namespaces get-message-ttl internal/test44
   0
   The output shows the value of zero, e.g. endless ttl  but should be 3600
   
   


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