We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
yaml中配置了两个注册中心:R1,R2,都是zk,地址一样,只是group不一样。配置了两个消费接口S1,S2,S1注册中心配置R1,S2注册中心配置R2,程序中S1,S2都有调用,发现其中一个会找不到提供者,通过跟代码发现获取注册对象是根据registryUrl.PrimitiveURL进行唯一识别获取,但此URL中没有group因素,导致R1,R2获取的是同一个对象,就看哪个先加载了,在查找提供者拼接路径时会使用registry的group属性,所以导致随机找不到其中一个提供者
Copy logs to here.
The text was updated successfully, but these errors were encountered:
Thank you for reporting this issue. We will take a look at this.
Sorry, something went wrong.
顺便问下,有没有类似RpcContext的对象,我想拿到本次调用的远程ip
Assign to @wudong5
98188e4
No branches or pull requests
Environment
Issue description
yaml中配置了两个注册中心:R1,R2,都是zk,地址一样,只是group不一样。配置了两个消费接口S1,S2,S1注册中心配置R1,S2注册中心配置R2,程序中S1,S2都有调用,发现其中一个会找不到提供者,通过跟代码发现获取注册对象是根据registryUrl.PrimitiveURL进行唯一识别获取,但此URL中没有group因素,导致R1,R2获取的是同一个对象,就看哪个先加载了,在查找提供者拼接路径时会使用registry的group属性,所以导致随机找不到其中一个提供者
Logs
Click me to check logs
The text was updated successfully, but these errors were encountered: