# spring-cloud-samples
**Repository Path**: javahongxi/spring-cloud-samples
## Basic Information
- **Project Name**: spring-cloud-samples
- **Description**: Spring Cloud 生态研究 ☁️
- **Primary Language**: Java
- **License**: Not specified
- **Default Branch**: main
- **Homepage**: http://cloud.hongxi.org
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 0
- **Created**: 2021-02-24
- **Last Updated**: 2021-11-02
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
# Spring Cloud Samples
Spring Cloud 生态研究
### 演示
依次启动eureka,provider-reactive,consumer-reactive,gateway
1. 直接访问 localhost:8763/hi?name=hongxi
1. 通过网关访问 localhost:8764/demo-consumer-reactive/hi?name=hongxi
### Spring Cloud 实现方案
| | Spring Cloud Netflix | Spring Cloud 官方 | Spring Cloud Alibaba | Spring Cloud Consul | Spring Cloud Kubernetes | Spring Cloud Zookeeper |
| ------------- | --------------------------------------- | ------------------------------------------------------------ | -------------------- | ------------------- | ----------------------- | ---------------------- |
| 分布式配置 | Archaius
(已不维护) | Spring Environment
(编程模型统一)
SCC Client/Server | Nacos | Consul | Config Map | Zookeeper |
| 服务注册/发现 | Eureka 1.x
Eureka 2.x
(已不维护) | Service Registry
(编程模型统一)
Service Discovery
(编程模型统一) | Nacos | Consul | Api Server | Zookeeper |
| 服务熔断 | Hystrix
(已不维护) | Spring Cloud Circuit Breaker
(编程模型统一) | Sentinel | - | - | - |
| 服务调用 | Feign | OpenFeign
RestTemplate | Dubbo RPC | - | - | - |
| 服务路由 | Zuul | Spring Cloud Gateway | Dubbo+Servlet | - | - | - |
| 分布式消息 | - | Spring Cloud Stream
(编程模型统一)
SCS RabbitMQ/Kafka | SCS RocketMQ | SCS Consul | - | - |
| 消息总线 | - | Spring Cloud Bus
(编程模型统一) | SCB RocketMQ | SCB Consul | - | - |
| 负载均衡 | Ribbon
(已不维护) | Spring Cloud LoaderBalancer
(编程模型统一) | Dubbo LB | - | - | - |
| 分布式事务 | - | - | Seata | - | - | - |
© [hongxi.org](http://hongxi.org) | [cloud.hongxi.org](http://cloud.hongxi.org)