Jason918 commented on a change in pull request #14038:
URL: https://github.com/apache/pulsar/pull/14038#discussion_r795026265
##########
File path:
pulsar-broker/src/main/java/org/apache/pulsar/broker/service/AbstractTopic.java
##########
@@ -224,6 +230,8 @@ protected void updateTopicPolicyByNamespacePolicy(Policies
namespacePolicies) {
type -> this.topicPolicies.getBackLogQuotaMap().get(type)
.updateNamespaceValue(MapUtils.getObject(namespacePolicies.backlog_quota_map,
type)));
updateSchemaCompatibilityStrategyNamespaceValue(namespacePolicies);
+ topicPolicies.getDispatchRate().updateNamespaceValue(
+
namespacePolicies.topicDispatchRate.get(brokerService.pulsar().getConfiguration().getClusterName()));
Review comment:
Need to keep compatible with deprecated `clusterDispatchRate`.
It's used when `topicDispatchRate` is not set.
--
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]