rivernate opened a new issue #7875:
URL: https://github.com/apache/pulsar/issues/7875


   **Describe the bug**
   When there is a cluster level configuration for 
`ttlDurationDefaultInSeconds` it's not possible to disable it at a namespace 
level
   
   **To Reproduce**
   Steps to reproduce the behavior:
   1. Set the `ttlDurationDefaultInSeconds` at the cluster level
   2. For a namespace try disabling the ttl with `pulsar-admin namespaces 
set-message-ttl my-tenant/my-ns --messageTTL 0`
   3. Get the ttl for the namespace with `pulsar-admin namespaces 
get-message-ttl my-tenant/my-ns`
   4. It returns the cluster level setting.
   
   **Expected behavior**
   You should be able to disable the TTL for a namespace
   
   **Additional context**
   This causes problems with not being able to consume messages from the 
begining of a topic, see: GH-6847
   


----------------------------------------------------------------
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:
[email protected]


Reply via email to