xxs588
xxs588
我负责的测试 dubbo-go-samples/task/shop 微服务商城 demo 的灰度路由功能,这个 demo 有 5 个微服务(frontend/user/order/detail/comment),每个后端有 v1/v2 两个版本,文档是服务于Dubbo 的灰度路由能力,但是用dubbo-go尝试时遇到了一些bug 测试方式: - 将 go.mod 的 replace 指向本地 dubbo-go(先后测试了快照 v3.3.2-20260419 和最新 main 分支) - 然后我尝试让 agent 用 Playwright 浏览器自动化模拟真实用户操作...
> [@xxs588](https://github.com/xxs588) Config center does not start这个问题可以根据用的Config center导入 _ "dubbo.apache.org/dubbo-go/v3/config_center/nacos" _ "dubbo.apache.org/dubbo-go/v3/config_center/zookeeper" > > 然后看一下还报不报错 > > 或者看一下这个例子是怎么写的https://github.com/apache/dubbo-go-samples/tree/main/router/tag OK喵我去试试
> [@xxs588](https://github.com/xxs588) Config center does not start这个问题可以根据用的Config center导入 _ "dubbo.apache.org/dubbo-go/v3/config_center/nacos" _ "dubbo.apache.org/dubbo-go/v3/config_center/zookeeper" > > 然后看一下还报不报错 > > 或者看一下这个例子是怎么写的https://github.com/apache/dubbo-go-samples/tree/main/router/tag 已经按官方实例调整
> > > [@xxs588](https://github.com/xxs588) Config center does not start这个问题可以根据用的Config center导入 _ "dubbo.apache.org/dubbo-go/v3/config_center/nacos" _ "dubbo.apache.org/dubbo-go/v3/config_center/zookeeper" > > > 然后看一下还报不报错 > > > 或者看一下这个例子是怎么写的https://github.com/apache/dubbo-go-samples/tree/main/router/tag > > > > > > 已经按官方实例调整 >...
#3400 把 #3397 #3398 的问题顺利解决啦,然后我这边测试发现预期行为都是正确的 Provider: dubbo.WithTag("gray") →application.tag=gray → MetadataInfo.Tag=gray → ZK storage Consumer: ZK read → instance.Tag=gray → ToURLs() → dubbo.tag=gray → Tag Router 匹配成功 task 任务 通过dubbo-admin 来动态配置...