-
Notifications
You must be signed in to change notification settings - Fork 26.4k
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
希望DUBBO能够支持隐式参数的回传,急需要这个功能 #895
Comments
@hsrong 能否更具体一点? |
@mercyblitz |
我直觉地认为自定义 ThreadLocal是否可以满足? |
@mercyblitz 不可以,因为服务A是通过DUBBO跨机器远程调用服务B |
@chickenlj 是相同的,我是做架构的,我希望通过这种使用方式实现对业务方法做一些控制,对业务方法来说,这些控制是透明的。 |
@hsrong 其实你提交一个Pull Request可能来得更快…… 哦,你不会是在dubbox上修改的吧? |
讲一下个人的理解,不一定准确,这种方式相当于直接传了个上下文到参数里面,然后可以直接通过参数来修改上下文(实际上因为是远程调用,经过了IO),但对于调用者的上下文来说不太可控,或者变更了什么无法在本地的代码里面看出来,查问题也比较麻烦。似乎跟微服务的理念不太一样(自治,高内聚,只通过RPC方式来交流) |
@hsrong You can create a Pull Request |
Duplicate of #889 |
consider adding new protocol version for the comparability |
泛型调用时consumer端获取服务端传过来的attachment,获取不到 |
No description provided.
The text was updated successfully, but these errors were encountered: