315157973 opened a new pull request #11294: URL: https://github.com/apache/pulsar/pull/11294
### Motivation In the master branch, the REST API no longer allows the topic name of the partition to be used to set the topic policy, but there are still many places where it will be used internally. Suppose we set a Topic policy for `persistent://tenant/namespace/topic` However, the policy cannot be obtained through `persistent://tenant/namespace/topic-partition-0`, which causes the policy to become invalid. For example:PersistentTopic.checkSubscriptionTypesEnable ### Modifications Convert the name in SystemTopicBasedTopicPoliciesService ### Verifying this change -- 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]
