GitHub user Aresxue created a discussion: [General][Java SDK (Component)] Optimize Dubbo registration timing
### Pre-check - [X] I am sure that all the content I provide is in English. ### Apache Dubbo Component Java SDK (apache/dubbo) ### Details In the spring environment, dubbo's default registration behavior may register with the registration center before the beans it depends on and their resources are initialized. This will cause errors when some requests come in. At this time, the provider is actually unavailable. To solve this problem, automatic registration is generally turned off and then health checks are performed through scripts. After passing the health check, use qos to go online. However, this behavior can be implemented in the program using healthEndpoint.health(). I think such a function should be provided to users rather than being implemented entirely through operation and maintenance means. ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct) GitHub link: https://github.com/apache/dubbo/discussions/15696 ---- This is an automatically sent email for [email protected]. To unsubscribe, please send an email to: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
