codelipenghui commented on a change in pull request #7839:
URL: https://github.com/apache/pulsar/pull/7839#discussion_r474723733



##########
File path: 
pulsar-broker/src/main/java/org/apache/pulsar/broker/admin/impl/PersistentTopicsBase.java
##########
@@ -2352,6 +2352,50 @@ protected void internalGetPersistence(AsyncResponse 
asyncResponse){
         return 
pulsar().getTopicPoliciesService().updateTopicPoliciesAsync(topicName, 
topicPolicies.get());
     }
 
+    protected void internalGetMaxProducers(AsyncResponse asyncResponse){
+        validateAdminAccessForTenant(namespaceName.getTenant());

Review comment:
       Call `checkTopicLevelPolicyEnable()` before use topic policy API, please 
check all.




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