dubbo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From manzhizhen (GitHub) <git...@apache.org>
Subject [GitHub] [incubator-dubbo] manzhizhen opened pull request #3816: RpcContext新增remoteApplicationName字段
Date Sun, 07 Apr 2019 01:16:24 GMT
## What is the purpose of the change

In the process of using Dubbo, there are many scenarios where the Provider needs to know the
applicationName of the Consumer (not just the Consumer IP). For example, I want to output
the upstream caller to the log file and want to limit the flow according to the upstream application.
Or downgrade, want to use the upstream application for arson drills, etc., so we usually add
Filter to achieve (for example, DubboAppContextFilter in Sentinel, which is specifically done
on the Consumer side: https://github.com/alibaba/Sentinel/ Blob/6bb4ff21dadde00c9453a5f57d030d55f87b71a8/sentinel-adapter/sentinel-dubbo-adapter/src/main/java/com/alibaba/csp/sentinel/adapter/dubbo/DubboAppContextFilter.java),
so I also hope that Dubbo can put this inside Simple things have been done



[ Full content available at: https://github.com/apache/incubator-dubbo/pull/3816 ]
This message was relayed via gitbox.apache.org for notifications@dubbo.apache.org
View raw message