tree: a7539e514bc92397968f02dd7635066751067071 [path history] [tgz]
  1. condition/
  2. tag/
  3. README.md
router/README.md

1.Run java server & java client following

README(You must run java program to initialize configuration in zookeeper)

2.Use router feature

2.1 use condition router with config file

Modify router_config.yml what you want to config

How to write router_config.yml

2.2 use tag router

How to use tag router

2.3 with config center

zookeeper

Use dubbo-admin to set condition router file.

Must set config center item in client.yml for load router file. like

config_center:
     protocol: "zookeeper"
     address: "127.0.0.1:2181"

Make sure dubbo-admin, dubbo-server and dubbo-client use the same zookeeper.

3.go client

Then start dubbo-go client following README.

to check your router, enjoy it.