Skip to content
This repository has been archived by the owner on Apr 1, 2024. It is now read-only.

ISSUE-13756: [broker] Optimize topic policy with HierarchyTopicPolicies #3567

Closed
18 of 23 tasks
sijie opened this issue Jan 14, 2022 · 0 comments
Closed
18 of 23 tasks

ISSUE-13756: [broker] Optimize topic policy with HierarchyTopicPolicies #3567

sijie opened this issue Jan 14, 2022 · 0 comments

Comments

@sijie
Copy link
Member

sijie commented Jan 14, 2022

Original Issue: apache#13756


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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant