robocanic opened a new issue, #1329: URL: https://github.com/apache/dubbo-admin/issues/1329
<!-- Please only use this template for submitting feature requests --> **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](https://github.com/apache/dubbo-admin/blob/develop/pkg/core/bootstrap/bootstrap.go), 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. -- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
