dubbo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] LijyCasey opened a new issue #1493: How to build a new route rule in version 2.5.3+
Date Wed, 21 Mar 2018 03:38:52 GMT
LijyCasey opened a new issue #1493: How to build a new route rule in version 2.5.3+
URL: https://github.com/apache/incubator-dubbo/issues/1493
 
 
   I saw the guide of Dubbo [](http://dubbo.apache.org/books/dubbo-user-book-en/demos/routing-rule.html)
that if I want to build a route rule I should build URL like `"condition://0.0.0.0/com.foo.BarService?category=routers&dynamic=false&rule="
+ URL.encode("host = 10.20.153.10 => host = 10.20.153.11") + "` 
   but I saw the resource of dubbo-admin or dubbokeeper the URL was built like `route://0.0.0.0/com.alibaba.dubbo.monitor.MonitorService?category=routers&dynamic=false&enabled=false&force=false&name=1&priority=1&router=condition&rule=consumer.host=10.20.153.10+=>+provider.host=10.20.153.11&runtime=false`

   it starts with 'route' instead of 'condition' ,so I confused if the guide version too old
or dubbo-admin's version is outdated

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

Mime
View raw message