315157973 opened a new pull request #9225:
URL: https://github.com/apache/pulsar/pull/9225


   Master Issue: #9216
   
   ### Motivation
   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.
   
   ### Modifications
   1 Now if there is no data at the namespace-level, the broker-level data will 
be returned by default, so I fix it
   2 Now if there is no data at the topic-level, the data at the 
namespace-level will be returned by default, so I fix it
   3 Add applied interface
   4 Since the initial value becomes null, the corresponding unit test is 
modified
   
   ### Verifying this change
   unit test:
   testDifferentLevelPolicyApplied
   


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