Spring Cloud Alibaba
Overview
Spring Cloud provides tools for developers to quickly build some of the common patterns in distributed systems. Spring Cloud Alibaba (https://sca.aliyun.com/en-us/) provides a one-stop solution for distributed application development. It contains all the components required to develop distributed applications, making it easy for you to develop your applications using Spring Cloud. In this parts, I'll code to show hot to use the spring cloud alibaba to development a distribution system.
Version Notes
you can find the spring boot , springcloud, spring cloud alibaba version from the url https://github.com/alibaba/spring-cloud-alibaba/wiki/版本说明
In the tutorial, I choose version:
Spring Cloud Alibaba Version | Spring Cloud Version | Spring Boot Version |
---|---|---|
2021.0.1.0 | Spring Cloud 2021.0.1 | 2.6.3 |
Component Selection
functional | component | version | remark |
---|---|---|---|
Register Center | Nacos Discovery | 1.4.2 | |
Conifg Center | Nacos Config | 1.4.2 | |
Remote Call | OpenFeign | ||
gateway | SpringCloudGateway | ||
Load balancing | Ribbon | ||
Message Middleware | RocketMq | 4.9.2 | |
Distributed Transactions | seata | 1.4.2 | |
Service flow control and fault tolerance | Sentinel | 1.8.3 |