dubbo-admin icon indicating copy to clipboard operation
dubbo-admin copied to clipboard

[Feature] Support components to start in dependency order

Open robocanic opened this issue 3 months ago • 2 comments

What would you like to be added: Components can be initialized and started based on their dependencies between components. There are two ways to make it:

  1. Lazy loading.
  2. Using DAG to automatically resolve dependencies.

Why is this needed: At first, the start order of each component is hardcoded in bootstrap, so the start order is certain and ordered. The originial purpose of Order() defined in Component is to provide the start order: the larger the number, the earlier it starts. But if we defined a new component called A and A depends on Store, we need to look up the order of Store. if A depends on many other components, we need to look up to the order of every components. So the design of Order() is not convenient enough.

robocanic avatar Sep 21 '25 11:09 robocanic

HI,please assign it to me

Wangzy455 avatar Oct 13 '25 14:10 Wangzy455