315157973 opened a new pull request #12517: URL: https://github.com/apache/pulsar/pull/12517
### Motivation When setting the topic policy for a geo-replicated cluster, some policies want to affect the whole geo-replicated cluster but some only want to affect the local cluster. So the proposal is to support global topic policy and local topic policy. ### Modifications 1. Replicator supports setting filterFunction 2. Retention supports setting global parameters 3. Add global topic policies for `SystemTopicBasedTopicPoliciesService` ### Verifying this change Verify the addition, deletion, modification, and inspection of the interface is normal Verify whether the policies can be replicate normally in the multi-Broker scenario ### Documentation doc-needed -- 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]
