Jason918 commented on code in PR #15295:
URL: https://github.com/apache/pulsar/pull/15295#discussion_r857224880


##########
pulsar-common/src/main/java/org/apache/pulsar/common/policies/data/TopicPolicies.java:
##########
@@ -71,6 +71,10 @@ public class TopicPolicies {
     private Integer maxSubscriptionsPerTopic;
     private DispatchRateImpl replicatorDispatchRate;
     private SchemaCompatibilityStrategy schemaCompatibilityStrategy;
+    /**
+     * Dispatch rate limiter setting for specific subscription.
+     */
+    private Map<String/*subscription*/, DispatchRateImpl> 
subscriptionLevelDispatchRateMap = new HashMap<>();

Review Comment:
   > Do we need to introduce SubscriptionPolicies here? We might need to 
support other policies like backlog quota, TTL.
   
   Good point.



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

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to