Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yidongnan/spring-cloud-consul-example
spring-cloud-consul-example is an example for microservices system
https://github.com/yidongnan/spring-cloud-consul-example
docker microservice spring-boot-admin spring-cloud-consul spring-cloud-sleuth swagger zipkin
Last synced: 3 months ago
JSON representation
spring-cloud-consul-example is an example for microservices system
- Host: GitHub
- URL: https://github.com/yidongnan/spring-cloud-consul-example
- Owner: yidongnan
- License: mit
- Created: 2016-06-07T09:13:53.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-02-08T14:32:57.000Z (over 7 years ago)
- Last Synced: 2024-07-16T09:54:38.546Z (4 months ago)
- Topics: docker, microservice, spring-boot-admin, spring-cloud-consul, spring-cloud-sleuth, swagger, zipkin
- Language: Java
- Homepage:
- Size: 993 KB
- Stars: 178
- Watchers: 19
- Forks: 95
- Open Issues: 3
-
Metadata Files:
- Readme: README-zh.md
- License: LICENSE
Awesome Lists containing this project
- awesome-list-microservice - spring-cloud-consul-example - cloud-consul-example is an example for microservices system (zipkin)
README
# spring-cloud-consul-example
README: [English](https://github.com/yidongnan/spring-cloud-consul-example/blob/master/README.md) | [中文](https://github.com/yidongnan/spring-cloud-consul-example/blob/master/README-zh.md)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
```shell
./gradlew clean build -x test
./buildDockerImage.sh
docker-compose up -d
```
if you want to start more serve, you should use
```shell
docker-compose scale service-a=2 service-b=3
```## 架构图
[](url "title")## 截图
### Api Route(Zuul)
[](url "title")### Consul DashBoard
[](url "title")### Consul Key/Value DashBoard
[](url "title")### ZipKin DashBoard
[](url "title")### ZipKin Trace Detail
[](url "title")### ZipKin Dependencies Overview
[](url "title")### Spring Boot Admin DashBoard
[](url "title")### Spring Boot Admin Detail
[](url "title")### Spring Boot Admin Environment
[](url "title")### Spring Boot Admin Thread Dump
[](url "title")### Spring Boot Admin Trace
[](url "title")### Hystrix Dashboard
[](url "title")### Hystrix Dashboard Detail
[](url "title")