[Refactor] Introduce Policy Resolver #18784
codelipenghui
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Is your enhancement request related to a problem? Please describe.
In Pulsar, there are multiple level policies such as topic level policy, namespace level policy, broker level policy. Therefore we have to merge the different level policies. The priority is the topic level > namespace level > broker level.
The user should get the real policy that set. For example, if the broker level enables the topic auto-deletion and users don't set this policy at the namespace level policy, users should get
the topic auto-deletion does not present at the namespace levelCurrently, we don't have a unified mechanism to handle the policies in Pulsar. So it's better to add a
Policy Resolverto optimize current implementation.The
Policy Resolvershould contain the following functionsBeta Was this translation helpful? Give feedback.
All reactions