Replies: 3 comments
-
You can use the DubboBootstrap API. |
Beta Was this translation helpful? Give feedback.
-
DubboBootstrap API is a way , but it is not a good way . Spring is already used in dubbo . Suggest adding ModulDeplayer.java default Sping bean , adding an automatic startup configuration (ex: dubbo.auto.start ), which defaults to true to start , coder can set false to control it |
Beta Was this translation helpful? Give feedback.
-
Dubbo support a configuration named delay to delay export dubbo rpc service ,but the time is unfixed, sometimes the delay is invalid. I think initialization and startup of Dubbo are two separate steps that should be handed over to the user for control. So an automatic startup configuration (ex: dubbo.auto.start default true ) is needed. |
Beta Was this translation helpful? Give feedback.
-
Pre-check
Search before asking
Apache Dubbo Component
Java SDK (apache/dubbo)
Dubbo Version
Dubbo version 3.1.11
Steps to reproduce this issue
When i study dubbo deploy code , I fount the way to run dubbo in DubboDeployApplicationListener.java , It means it starts by ApplicationEvent .
Is any way to run dubbo without DubboDeployApplicationListener.java . because we need to run dubbo order by some list
like middlewareA -> middlewareB -> Dubbo -> Rocket -> SomeJob ..... .
What you expected to happen
I mean the controler of start /stop dubbo should be application coder. That is useful to deploy applicaiton graceful !
Anything else
No response
Are you willing to submit a pull request to fix on your own?
Code of Conduct
Beta Was this translation helpful? Give feedback.
All reactions