Skip to content

Latest commit

 

History

History
90 lines (69 loc) · 3.41 KB

README-zh.md

File metadata and controls

90 lines (69 loc) · 3.41 KB

spring-cloud-consul-example

README: English | 中文

Java技术交流群:294712648 Java技术交流群

spring-cloud-consul-example 项目是一个微服务系统的实例 项目包括如下功能: 配置管理 、服务发现、熔断,、动态路由、分布式跟踪、应用监控

注册中心使用的 consul,使用 eureka 的例子可以参考 https://github.com/yidongnan/spring-cloud-netflix-example

技术栈

  • Spring Cloud Consul
  • Spring Cloud Sleuth
  • Spring Cloud Config
  • Spring Boot Admin
  • Spring Boot
  • ZipKin
  • Docker
  • Swagger

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  

架构图

截图

Api Route(Zuul)

Consul DashBoard

Consul Key/Value 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