condition/

directory
v0.0.0-...-c107da6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 12, 2020 License: Apache-2.0

README

1.Run java server & java client following

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

2.Use condition router feature

2.1.with config file

Modify router_config.yml what you want to config

How to write router_config.yml

2.2.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.

Directories

Path Synopsis
go-client
app
go-server
app

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL