spring-cloud-consul-example is an example for microservices system.
It's contain configuration management, service discovery, circuit breakers, intelligent routing, distributed tracing, application monitor.
The registry center uses the consul, if you want to use eureka, you can refer to https://github.com/yidongnan/spring-cloud-netflix-example
./gradlew clean build -x test
./buildDockerImage.sh
docker-compose up -d
if you want to start more serve, you should use
docker-compose scale service-a=2 service-b=3
- Spring Cloud Consul
- Spring Cloud Sleuth
- Spring Cloud Config
- Spring Boot Admin
- Spring Boot
- ZipKin
- Docker
- Swagger