dubbo
dubbo copied to clipboard
Can not accquire remote.application from url of invoker
- [ ] I have searched the issues of this repository and believe that this is not a duplicate.
Environment
- Dubbo version: 3.1.0
- Operating System version: windows
- Java version: 11
Steps to reproduce this issue
- Started the application A、B、C
- Then debug the method MonitorFilter#invoke of application B for remote.application of invoker
Pls. provide [GitHub address] to reproduce this issue.
Expected Behavior
Actual Behavior
I expected the value of remote.application is C, but it is null actually. Although I get it from attachments, but value of it is B which is wrong.
If there is an exception, please attach the exception trace: uninvolved
Just put your stack trace here!
MonitorFilter is a provider filter, which can only obtain application A's information in application B.
MonitorFilter is a provider filter, which can only obtain application A's information in application B.
Thanks for reply, but MonitorFilter is both provider and consumer filter at 2.7.x, can I ask the reason why change it only for provider?
MonitorFilter in consumer side for 3.x is org.apache.dubbo.monitor.support.MonitorClusterFilter