Fix dispatchRate is overwritten (#8004)
Fixes #7863 ### Motivation 1) Topic level policy will be overwritten by namespace level 2) After removing the topic level policy, `DispatchLimiter` does not take effect, the namespace level policy should be used ### Modifications 1)If there is a topic-level policy, it will not be overwritten by the namespace-level policy when the policy is updated 2)When removing topic-level policy, namespace-level policy will be used. If the namespace-level policy does not exist, the broker level will be used ### Verifying this change unit test: TopicPoliciesTest#testPolicyOverwrittenByNamespaceLevel
Showing