Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yidongnan/spring-cloud-netflix-example
spring-cloud-netflix-example is an example for microservices system
https://github.com/yidongnan/spring-cloud-netflix-example
docker microservice rabbitmq spring-boot-admin spring-cloud-config spring-cloud-netflix spring-cloud-sleuth swagger zipkin
Last synced: 3 months ago
JSON representation
spring-cloud-netflix-example is an example for microservices system
- Host: GitHub
- URL: https://github.com/yidongnan/spring-cloud-netflix-example
- Owner: yidongnan
- License: mit
- Created: 2016-06-07T02:23:48.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2020-09-11T07:18:32.000Z (about 4 years ago)
- Last Synced: 2024-07-16T09:54:05.862Z (4 months ago)
- Topics: docker, microservice, rabbitmq, spring-boot-admin, spring-cloud-config, spring-cloud-netflix, spring-cloud-sleuth, swagger, zipkin
- Language: Java
- Homepage:
- Size: 1.05 MB
- Stars: 807
- Watchers: 115
- Forks: 371
- Open Issues: 5
-
Metadata Files:
- Readme: README-zh.md
- License: LICENSE
Awesome Lists containing this project
- awesome-list-microservice - spring-cloud-netflix-example - cloud-netflix-example is an example for microservices system (zipkin)
- awesome-list-docker - spring-cloud-netflix-example - cloud-netflix-example is an example for microservices system (zipkin)
README
# Spring Cloud Netflix Sample Application
spring-cloud-netflix-example 项目是一个微服务系统的实例
项目包括如下功能: **配置管理 、服务发现、熔断,、动态路由、分布式跟踪、应用监控**注册中心使用的 eureka,使用 consul 的例子可以参考 https://github.com/yidongnan/spring-cloud-consul-example
## 技术栈
* Spring Cloud Netflix
* Spring Cloud Sleuth
* Spring Cloud Config
* Spring Boot Admin
* Spring Boot
* ZipKin
* RabbitMQ
* Docker
* Swagger## Getting Started
```shell
./gradlew clean build -x test
./buildDockerImage.sh
docker-compose up -d
```
如果你想启动更多的服务,你可以运行
```shell
docker-compose scale service-a=2 service-b=3
```开发环境中启动基础服务
```
docker-compose -f docker-compose-dev.yml up -d
```## 架构图
[](url "title")## 截图
### Api Route(Zuul)
[](url "title")### Eureka 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")