Skip to content
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 2.7.x Consumer无法继承Provider的配置项,是否有其它解决办法? #9349

Open
caichy opened this issue Dec 3, 2021 · 5 comments
Labels
type/discussion Everything related with code discussion or question

Comments

@caichy
Copy link

caichy commented Dec 3, 2021

看不少兄弟也反馈了这样的问题,在2.7.8版本后注释了合并Provider参数的代码,导致Provider配置的参数无法传递到Consumer。

dubbo/dubbo-registry/dubbo-registry-api/src/main/java/org/apache/dubbo/registry/integration/RegistryDirectory.java
Line 358 in 321789d
// this.overrideDirectoryUrl = this.overrideDirectoryUrl.addParametersIfAbsent(providerUrl.getParameters()); // Merge the provider side parameters

这种做法与Dubbo官方文档介绍不一致,而且对于老Dubbo用户来说,这个改变无法接受。在相关Issue里也没有给出解决办法。
请问,如果确实需要这个特性,该怎么支持呢?

@caichy caichy added the type/discussion Everything related with code discussion or question label Dec 3, 2021
@haoyann
Copy link
Contributor

haoyann commented Dec 6, 2021

#9147 这个 PR 做了修复,可以选择升级版本或者将注释放开。

@caichy
Copy link
Author

caichy commented Dec 6, 2021

是2.7.15版本吗?什么时候release

@haoyann
Copy link
Contributor

haoyann commented Dec 8, 2021

是2.7.15版本吗?什么时候release

是的,还没有 release。

@caichy
Copy link
Author

caichy commented Dec 15, 2021

是2.7.15版本吗?什么时候release

是的,还没有 release。

有时间计划吗?什么时候会发版

@AlbumenJ
Copy link
Member

是2.7.15版本吗?什么时候release

是的,还没有 release。

有时间计划吗?什么时候会发版

本月月底发布

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/discussion Everything related with code discussion or question
Projects
None yet
Development

No branches or pull requests

3 participants