We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
哪位大佬知道服务注册到zookeeper用的为什么是postProcessBeforeInitialization,而不是postProcessAfterInitialization吗?
The text was updated successfully, but these errors were encountered:
RpcReference是在After中来完成服务的调用,RpcReference是在Before中完成服务的注册。 就是为了让RpcService在被调用之前完成服务注册(就是在Before中实现),避免RpcReference在服务还没注册之前就调用了服务。 不知道对不对。:-)
Sorry, something went wrong.
+1,我也这么理解的
个人觉得应该要在服务启动之后才注册到zookeeper,不能提前暴露,不管放在postProcessBeforeInitialization还是postProcessAfterInitialization,都是不合适的。当然这个只是一个demo,不用考虑这个。
No branches or pull requests
哪位大佬知道服务注册到zookeeper用的为什么是postProcessBeforeInitialization,而不是postProcessAfterInitialization吗?

The text was updated successfully, but these errors were encountered: