dubbo-go
dubbo-go copied to clipboard
采用nacos注册中心,通过go泛化调用dubbo接口,无法通过标签路由选择服务地址
Environment
- Server: dubbo
- Client: Dubbo-go ,v3.3.0
- Protocol: dubbo
- Registry: Nacos, v2.3.2
Issue description
go端关键代码:
ctx := context.WithValue(context.Background(), constant.AttachmentKey, map[string]interface{}{"dubbo.tag": "p6666"}) resp, err := refConf.GetRPCService().(*generic.GenericService).Invoke( //context.TODO(), ctx, methodName, types, args, )
Logs
Click me to check logs
Copy logs to here.
我们正在跟进这个 @marsevilspirit
one of the causes is solved by https://github.com/apache/dubbo-go/pull/3069
wait for router new api