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-go1.5.7 consumer 把 provider 的应用给改了 #1659

Closed
xfstart07 opened this issue Dec 10, 2021 · 1 comment
Closed

dubbo-go1.5.7 consumer 把 provider 的应用给改了 #1659

xfstart07 opened this issue Dec 10, 2021 · 1 comment
Labels
bug Something isn't working occupied Issue has been occupied

Comments

@xfstart07
Copy link
Contributor

xfstart07 commented Dec 10, 2021

What happened:

consumer 把 provider 的应用给改了,在 dubbo-admin 中显示 provider 显示的应用给改了

What you expected to happen:

How to reproduce it (as minimally and precisely as possible):

Anything else we need to know?:

服务中包含 provider 和 consumer

注册中心: zookeeper

@xfstart07
Copy link
Contributor Author

https://github.com/apache/dubbo-go/blob/master/config/reference_config.go#L234
消费者的 url 没有设置 category , zk 连接默认以为是 provider 了
需要加个参数 urlMap.Set(constant.CATEGORY_KEY, constant.CONSUMERS)

xfstart07 added a commit to xfstart07/dubbo-go that referenced this issue Dec 12, 2021
@xfstart07 xfstart07 mentioned this issue Dec 12, 2021
@justxuewei justxuewei added bug Something isn't working occupied Issue has been occupied labels Dec 13, 2021
xfstart07 added a commit to xfstart07/dubbo-go that referenced this issue Dec 16, 2021
AlexStocks pushed a commit that referenced this issue Dec 23, 2021
* fix: reference_config add consumer category (#1659)

* fix: return error (#1661)

* fix: fmt

* remove consul agent testunit
AlexStocks pushed a commit that referenced this issue Dec 28, 2021
Co-authored-by: LaurenceLiZhixin <382673304@qq.com>
@xfstart07 xfstart07 reopened this Dec 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working occupied Issue has been occupied
Projects
None yet
Development

No branches or pull requests

2 participants