[GitHub] [dubbo-admin] kexianjun commented on issue #522: nacos作为注册中心时,条件路由配置不起作用

2019-10-14 Thread GitHub
> org.apache.dubbo.registry.zookeeper.ZookeeperRegistry.doSubscribe(URL url, 
> NotifyListener listener)
> 会循环Categories
> ![image](https://user-images.githubusercontent.com/3623460/66754260-2c8fc400-eec8-11e9-982d-6a5beb7fe54e.png)
> org.apache.dubbo.registry.nacos.NacosRegistry.doSubscribe(URL url, 
> NotifyListener listener, Set serviceNames)
> 里没有循环Categories
> ![image](https://user-images.githubusercontent.com/3623460/66754344-5812ae80-eec8-11e9-8fc8-0fb81af78620.png)
> 这个是dubbo2.7.3本身的bug么?

这个不太清楚 nacos 这么写的意图,结果就是 routers:xxx 这个节点没有订阅,你可以去 dubbo 下面提个 issue 问一下

[ Full content available at: https://github.com/apache/dubbo-admin/issues/522 ]
This message was relayed via gitbox.apache.org for 
notifications@dubbo.apache.org

-
To unsubscribe, e-mail: notifications-unsubscr...@dubbo.apache.org
For additional commands, e-mail: notifications-h...@dubbo.apache.org

[GitHub] [dubbo-admin] kexianjun commented on issue #522: nacos作为注册中心时,条件路由配置不起作用

2019-10-12 Thread GitHub
> 创建和修改条件路由时控制台回报错
> ![image](https://user-images.githubusercontent.com/3623460/66700167-54442800-ed20-11e9-90b3-35f638127ccd.png)

这个控制台页面报错我本地没有复现

[ Full content available at: https://github.com/apache/dubbo-admin/issues/522 ]
This message was relayed via gitbox.apache.org for 
notifications@dubbo.apache.org

-
To unsubscribe, e-mail: notifications-unsubscr...@dubbo.apache.org
For additional commands, e-mail: notifications-h...@dubbo.apache.org

[GitHub] [dubbo-admin] kexianjun commented on issue #522: nacos作为注册中心时,条件路由配置不起作用

2019-10-12 Thread GitHub
> 做了个测试,规则不变,206上服务依然被调用了
> conditions:
> 
> * => host != 192.168.0.206
>   enabled: true
>   force: true
>   key: com.everstar.mobile.service.INetEventService:1.0.0
>   priority: 0
>   runtime: false
>   scope: service

不生效的原因应该是 nacos 作为注册中心的时候,消费者端没有订阅 routers:xxx 节点导致的;2.7 以上的版本建议使用动态配置中心来做服务治理

[ Full content available at: https://github.com/apache/dubbo-admin/issues/522 ]
This message was relayed via gitbox.apache.org for 
notifications@dubbo.apache.org

-
To unsubscribe, e-mail: notifications-unsubscr...@dubbo.apache.org
For additional commands, e-mail: notifications-h...@dubbo.apache.org

[GitHub] [dubbo-admin] kexianjun commented on issue #522: nacos作为注册中心时,条件路由配置不起作用

2019-10-12 Thread GitHub
> 做了个测试,规则不变,206上服务依然被调用了
> conditions:
> 
> * => host != 192.168.0.206
>   enabled: true
>   force: true
>   key: com.everstar.mobile.service.INetEventService:1.0.0
>   priority: 0
>   runtime: false
>   scope: service

不生效的根本原因应该是 nacos 作为注册中心的时候,消费者端没有订阅 routers:xxx 节点导致的;2.7 以上的版本建议使用动态配置中心来做服务治理

[ Full content available at: https://github.com/apache/dubbo-admin/issues/522 ]
This message was relayed via gitbox.apache.org for 
notifications@dubbo.apache.org

-
To unsubscribe, e-mail: notifications-unsubscr...@dubbo.apache.org
For additional commands, e-mail: notifications-h...@dubbo.apache.org

[GitHub] [dubbo-admin] kexianjun commented on issue #522: nacos作为注册中心时,条件路由配置不起作用

2019-10-11 Thread GitHub
nacos 动态配置中心的实现有bug,稍后我看看怎么修掉吧

[ Full content available at: https://github.com/apache/dubbo-admin/issues/522 ]
This message was relayed via gitbox.apache.org for 
notifications@dubbo.apache.org

-
To unsubscribe, e-mail: notifications-unsubscr...@dubbo.apache.org
For additional commands, e-mail: notifications-h...@dubbo.apache.org

[GitHub] [dubbo-admin] kexianjun commented on issue #522: nacos作为注册中心时,条件路由配置不起作用

2019-10-08 Thread GitHub
I'll check this later

[ Full content available at: https://github.com/apache/dubbo-admin/issues/522 ]
This message was relayed via gitbox.apache.org for 
notifications@dubbo.apache.org


-
To unsubscribe, e-mail: notifications-unsubscr...@dubbo.apache.org
For additional commands, e-mail: notifications-h...@dubbo.apache.org