Spring Cloud Alibaba Overview and Technical Stack for the PassJava Project
This article introduces Spring Cloud Alibaba as a one‑stop microservice solution, compares it with traditional Spring Cloud, outlines its advantages, presents a detailed component selection for the PassJava project, and provides version compatibility, Maven dependency snippets, and final technology choices.
Spring Cloud Alibaba provides a one‑stop solution for developing microservice applications, offering components such as Nacos for service discovery and configuration, Sentinel for fault tolerance, Seata for distributed transactions, and integration with Spring Cloud features like Ribbon, OpenFeign, and Gateway.
Key pain points of traditional Spring Cloud include discontinued components, complex environment setup, and high configuration overhead.
Advantages of Spring Cloud Alibaba are proven reliability, reasonable design, visual monitoring tools, and simplified setup with lower learning cost.
Technical stack for the PassJava project combines Spring Cloud Alibaba Nacos for registration and configuration, Sentinel for service fault tolerance, Seata for distributed transactions, and Spring Cloud Ribbon, OpenFeign, Gateway, and Sleuth for load balancing, remote calls, API gateway, and tracing.
Version compatibility matrix:
Spring Cloud Version
Spring Cloud Alibaba Version
Spring Boot Version
Spring Cloud Hoxton.SR3
2.2.x.RELEASE
2.2.x.RELEASE
Spring Cloud Greenwich
2.1.x.RELEASE
2.1.x.RELEASE
Spring Cloud Finchley
2.0.x.RELEASE
2.0.x.RELEASE
Spring Cloud Edgware
1.5.x.RELEASE
1.5.x.RELEASE
The project uses Spring Cloud Hoxton.SR3, Spring Cloud Alibaba 2.2.0.RELEASE and Spring Boot 2.2.6.RELEASE.
Dependency management snippet for PassJava‑Common (pom.xml):
<dependencyManagement>
<dependencies>
<!-- Spring Cloud Alibaba dependency -->
<dependency>
<groupId>com.alibaba.cloud</groupId>
<artifactId>spring-cloud-alibaba-dependencies</artifactId>
<version>2.2.0.RELEASE</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>Final technology selection:
Spring Cloud Alibaba - Nacos 实现注册中心
Spring Cloud Alibaba - Nacos 实现配置中心
Spring Cloud Alibaba - Sentinel 实现服务容错
Spring Cloud Alibaba - Seata 实现分布式事务
Spring Cloud - Ribbon 实现负载均衡
Spring Cloud - Feign 实现远程调用
Spring Cloud - Gateway API网关
Spring Cloud - Sleuth 实现调用链监控Code repository: https://github.com/Jackson0714/PassJava-Platform
Signed-in readers can open the original source through BestHub's protected redirect.
This article has been distilled and summarized from source material, then republished for learning and reference. If you believe it infringes your rights, please contactand we will review it promptly.
Wukong Talks Architecture
Explaining distributed systems and architecture through stories. Author of the "JVM Performance Tuning in Practice" column, open-source author of "Spring Cloud in Practice PassJava", and independently developed a PMP practice quiz mini-program.
How this landed with the community
Was this worth your time?
0 Comments
Thoughtful readers leave field notes, pushback, and hard-won operational detail here.
