apollo/

directory
v0.0.0-...-1369e2f Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2020 License: Apache-2.0

README

1.Run apollo as config center

  • download this folder as below

docker-quick-start

  • enter docker-quick-start folder and run

docker-compose up

2.Run java server & java client following README

  • Set config item app.id in /resources/META-INF/app.properties like
app.id=application
  • Set apollo meta url in /resources/META-INF/spring/dubbo.provider.xml and /resources/META-INF/spring/dubbo.consumer.xml like
<dubbo:config-center protocol="apollo" address="1.1.1.1:8080"/>

Build and run it , enjoy.

3.Run java server & go client

Stop java client. Copy go client configuration file dubbo.properties as namespace dubbo.properties in apollo.

Then start go client following README.

4.Run go server

The same as step 3. Copy go server configuration file dubbo.properties as namespace dubbo.properties in apollo.

Directories

Path Synopsis
dubbo

Jump to

Keyboard shortcuts

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