You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2020/09/10 11:20:55 UTC

[GitHub] [pulsar] hangc0276 commented on a change in pull request #8003: support max consumers per subscription on topic level

hangc0276 commented on a change in pull request #8003:
URL: https://github.com/apache/pulsar/pull/8003#discussion_r486259336



##########
File path: pulsar-broker/src/main/java/org/apache/pulsar/broker/service/persistent/PersistentDispatcherSingleActiveConsumer.java
##########
@@ -537,5 +551,35 @@ public void initializeDispatchRateLimiterIfNeeded(Optional<Policies> policies) {
         return disconnectAllConsumers();
     }
 
+    /**
+     * Get {@link TopicPolicies} for this topic.
+     * @param topicName
+     * @return TopicPolicies is exist else return null.
+     */
+    private TopicPolicies getTopicPolicies(TopicName topicName) {

Review comment:
       Thanks for your reply. I have move the getTopicPolicies method to BrokerService, Please take a look again.




----------------------------------------------------------------
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:
users@infra.apache.org