codelipenghui opened a new issue #9216:
URL: https://github.com/apache/pulsar/issues/9216


   **Is your feature request related to a problem? Please describe.**
   Provide a way to get the applied policy of the topic. In Pulsar, the topic 
will apply the topic level policy if present or apply the namespace policy if 
present or use the broker level configuration. It needs to support get the 
applied policy for a topic that might use the namespace policy or topic policy 
or broker level default configuration. 
   
   **Describe the solution you'd like**
   Add "--applied" for the get policy cmd. For example:
   
   ```
   bin/pulsar-admin topics get-retention --applied
   ```
   
   - [ ]   1. MessageTTL
   - [ ]   2. Retention Policy
   - [ ]   3. Message Dispatch Rate
   - [ ]   4. Backlog Quota
   - [ ]   5. Persistence Policy
   - [ ]   6. Max Producer
   - [ ]   7. Max Consumer
   - [ ]   8. Compaction Threshold
   - [ ]   9. Deduplication
   - [ ]   10. Offload Policy
   - [ ]   11. MaxUnackMessagesPerConsumer
   - [ ]   12. MaxUnackMessagesPerSubscription
   - [ ]   13. DelayedDeliveryPolicies
   - [ ]   14. Inactive topic policy
   


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