-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
哪位大佬知道服务注册用的为什么是postProcessBeforeInitialization,而不是postProcessAfterInitialization吗? #40
Comments
RpcReference是在After中来完成服务的调用,RpcReference是在Before中完成服务的注册。 |
+1,我也这么理解的 |
个人觉得应该要在服务启动之后才注册到zookeeper,不能提前暴露,不管放在postProcessBeforeInitialization还是postProcessAfterInitialization,都是不合适的。当然这个只是一个demo,不用考虑这个。 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
哪位大佬知道服务注册到zookeeper用的为什么是postProcessBeforeInitialization,而不是postProcessAfterInitialization吗?
The text was updated successfully, but these errors were encountered: