Omega-Ariston opened a new pull request #6920: URL: https://github.com/apache/pulsar/pull/6920
Fixes #6887 ### Motivation The ttl for namespaces should be retrieved from broker's configuration if it is not configured at namespace policies. However, the current code only returns the value stored in namespace policies directly without judging if it is configured or not. ### Modifications Added a condition to test if ttl is configured at namespace policies. If not, retrieve value stored in broker's configuration and return it as output. ---------------------------------------------------------------- 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: us...@infra.apache.org