RPC Dubbo for Dubbo-go 3.0

For api definition and go client and server startup, please refer to dubbo-go 3.0 quickstart

Instructions

1. Start zookeeper

Execute the command docker run --rm -p 2181:2181 zookeeper or make -f $DUBBO_GO_SAMPLES_ROOT_PATH/build/Makefile docker-up. If you choose the second way, please ensure that you have set the environment $DUBBO_GO_SAMPLES_ROOT_PATH.

2. Start the server

Use goland to start rpc-dubbo-go-server

or

Execute sh run.sh in the java-server folder to start the java server

3. Start the client

Use goland to start rpc-dubbo-go-client

or

Execute sh run.sh under the java-client folder to start the java client