massakam opened a new pull request #6176: Restore clusterDispatchRate policy for compatibility URL: https://github.com/apache/pulsar/pull/6176 ### Motivation The other day, our company upgraded Pulsar from 2.3.2 to 2.4.2. Then, the topic-level dispatch throttling no longer works as expected. This is because the field name that specifies the topic-level dispatch rate has been changed by https://github.com/apache/pulsar/pull/4273 from `clusterDispatchRate` to `topicDispatchRate`. In Pulsar 2.4.0 or later, `clusterDispatchRate` set for the znodes of namespaces is ignored. The name `topicDispatchRate` is more appropriate than `clusterDispatchRate`, but I think the value of `clusterDispatchRate` set in previous versions should not be ignored. ### Modifications Restored `clusterDispatchRate` field in `Policies` class. If `topicDispatchRate` is empty, `clusterDispatchRate` is referred.
---------------------------------------------------------------- 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] With regards, Apache Git Services
