yidongnan / spring-cloud-netflix-example

spring-cloud-netflix-example is an example for microservices system
MIT License
808 stars 367 forks source link
docker microservice rabbitmq spring-boot-admin spring-cloud-config spring-cloud-netflix spring-cloud-sleuth swagger zipkin

Spring Cloud Netflix Sample Application

Translations: - [Chinese / 中文](README-zh.md)

spring-cloud-netflix-example is an example for microservices system.

It contains configuration management, service discovery, circuit breakers, intelligent routing, distributed tracing, application monitor.

The registry center uses the eureka, if you want to use consul, you can refer to https://github.com/yidongnan/spring-cloud-consul-example.

Getting Started

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

Start the basic service in the development environment:

docker-compose -f docker-compose-dev.yml up -d

Technology List

Architecture Overview

Screenshots

Api Route(Zuul)

Eureka Dashboard

ZipKin Dashboard

ZipKin Trace Detail

ZipKin Dependencies Overview

Spring Boot Admin Dashboard

Spring Boot Admin Detail

Spring Boot Admin Environment

Spring Boot Admin Thread Dump

Spring Boot Admin Trace

Hystrix Dashboard

Hystrix Dashboard Detail