Skip to content

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

License

Notifications You must be signed in to change notification settings

taneg/spring-cloud-netflix-example

 
 

Repository files navigation

spring-cloud-netflix-example

README: English | 中文

spring-cloud-netflix-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 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

  • Spring Cloud Netflix
  • Spring Cloud Sleuth
  • Spring Cloud Config
  • Spring Boot Admin
  • Spring Boot
  • ZipKin
  • RabbitMQ
  • Docker
  • Swagger

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

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 82.2%
  • Dockerfile 15.2%
  • Shell 1.5%
  • Batchfile 1.1%