Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[broker] Optimize topic policy with HierarchyTopicPolicies #13756

Closed
23 tasks done
Jason918 opened this issue Jan 14, 2022 · 0 comments
Closed
23 tasks done

[broker] Optimize topic policy with HierarchyTopicPolicies #13756

Jason918 opened this issue Jan 14, 2022 · 0 comments
Assignees

Comments

@Jason918
Copy link
Contributor

Jason918 commented Jan 14, 2022

This issue is created to track the process of the serial topic policy optimization with HierarchyTopicPolicies.

Motivation

Update topic policy with HierarchyTopicPolicies comes with these benefits:

  • All topic policy related settings will goes into AbstractTopic#topicPolicies, easier to understand, check, review, and modify.
  • Unify policy update to AbstractTopic. And easier to find which policy is not applied to non-persistent topic yet. And we can easily add support for it.
  • Unify policy value with 3 level settings (topic/namespace/broker), and priority with topic > namespace > broker. And it's easier to find which level settings is missing.
  • All values are updated at creation or by trigger. We can save some resource to update it or recalculate each time we use it.
  • etc.

Progress

These topic policies can not apply to this optimization because it's used for ML and before Topic creation.

  • offloadPolicies
  • persistence
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant