Spring Cloud Alibaba 致力于提供微服务开发的一站式解决方案。此项目包含开发分布式应用微服务的必需组件,依托Spring Cloud Alibaba,只需要添加一些注解和少量配置,就可以将Spring Cloud 应用接入阿里微服务解决方案,通过阿里中间件来迅速搭建分布式应用系统。下面这些都是Spring Cloud Alibaba技术栈中的技术点,各位看官瞅一眼有没有眼熟的。
微服务环境搭建
Nacos Discovery--服务治理
Sentinel--服务容错
Gateway--服务网关
Sleuth--链路追踪
Rocketmq--消息驱动
SMS--短信服务
Nacos Config--服务配置
Seata-分布式事务
以上这些Spring Cloud Alibaba中的技术点都是我从阿里大佬的一份Spring Cloud Alibaba全解析笔记中CV出来的,这份笔记主要讲解了SpringCloudAlibaba技术栈中的Nacos、Sentinel、RocketMQ、Seata、SMS、Dubbo SpringCloud组件,为了技术栈中完整,又加入了SpringCloud的Gateway和Slueth。全面覆盖微服务中各种问题的解决方案,以企业案例为驱动讲解各个解决方案,真的非常适合当下想学习微服务的朋友,其他的先不说,先看看小部分内容截图就知道这份笔记有多香了,
目录:
由于文档内容过多,因此为了避免影响到大家的阅读体验,在此只以截图展示部分内容
![](https://img-blog.csdnimg.cn/img_convert/e02d1235153a4224b00c3a0798d5eb0c.webp?x-oss-process=image/format,png)
一:微服务介绍
系统架构演变
微服务架构介绍
SpringCloudAlibaba介绍
![](https://img-blog.csdnimg.cn/img_convert/af85fe94fc5640b08defe407dd8ace2c.webp?x-oss-process=image/format,png)
垂直应用架构
![](https://img-blog.csdnimg.cn/img_convert/bf195989a1bb43d1bd5115e693b27c49.webp?x-oss-process=image/format,png)
微服务架构的常见解决方案
二:微服务环境搭建
案例准备
工程搭建
![](https://img-blog.csdnimg.cn/img_convert/f7a5bdd80c0f46338cc772471821d8f8.webp?x-oss-process=image/format,png)
微服务环境搭建
三:Nacos DisCovery--服务治理
服务治理介绍
nacos简介
nacos入门案例
实现服务调用的负载均衡
基于Feign实现服务调用
![](https://img-blog.csdnimg.cn/img_convert/01e0e24382b54dcdabecc22f61bee605.webp?x-oss-process=image/format,png)
Nacos Discovery--服务治理
四:Sentinel--服务容错
高并发带来的问题
服务雪崩效应
常见的容错方案
Sentinel入门
Sentinel的概念和功能
Sentinel规则
@SentinelResource的使用
Sentinel规则持久化
Fegin整合Sentinel
![](https://img-blog.csdnimg.cn/img_convert/fad09d14ac0d4dee9c2ad9e10cca92cb.webp?x-oss-process=image/format,png)
服务雪崩效应
![](https://img-blog.csdnimg.cn/img_convert/f5c23eb9e6ba46f8901c098368b0ce98.webp?x-oss-process=image/format,png)
实现一个接口的限流
五: Gateway--服务网关
网关简介
Gateway简介
Gateway入门案例
Gateway核心架构
Gateway断言
Gateway过滤器
网关限流
![](https://img-blog.csdnimg.cn/img_convert/13fada30ac45444a95bf7e0818b544cf.webp?x-oss-process=image/format,png)
Gateway--服务网关
![](https://img-blog.csdnimg.cn/img_convert/0e86744fcd374f83b4f905106a968c7a.webp?x-oss-process=image/format,png)
全局过滤器
六: Sleuth--链路追踪
链路追踪介绍
Sleuth入门
ZipKin的集成
Zipkin数据持久化
![](https://img-blog.csdnimg.cn/img_convert/80f762e9dba74f79aba8127654c286ad.webp?x-oss-process=image/format,png)
Sleuth--链路追踪
![](https://img-blog.csdnimg.cn/img_convert/dcbcbd03a19449998a4e77bcafc6b391.webp?x-oss-process=image/format,png)
Zipkin的集成
七: Rocketmq--消息驱动
MQ简介
RocketMQ入门
消息的发送和接收
案例
发送不同类型的消息
消息消费要注意的细节
![](https://img-blog.csdnimg.cn/img_convert/c785977a1c034d728c8cbfa556194c40.webp?x-oss-process=image/format,png)
事务消息
![](https://img-blog.csdnimg.cn/img_convert/9906825a20f9428195414a80e291c59a.webp?x-oss-process=image/format,png)
Rocketmq--消息驱动
八: SMS--短信服务
短信服务介绍
短信服务的使用
下单之后发送短信
![](https://img-blog.csdnimg.cn/img_convert/7708a2049092478dab7bde67a46514dc.webp?x-oss-process=image/format,png)
SMS--短信服务
九: Nacos Config--服务配置
服务配置中心介绍
Nacos Config入门
Nacos Config 深入
Nacos的几个概念
![](https://img-blog.csdnimg.cn/img_convert/6c3249d1d9954178961cb03e3f6b14d6.webp?x-oss-process=image/format,png)
Nacos Config--服务配置
十: Seata--分布式事务
分布式事务基础
分布式事务解决方案
Seata介绍
Seata实现分布式事务控制
![](https://img-blog.csdnimg.cn/img_convert/ebf64c14d8ba4527973234ed14dde813.webp?x-oss-process=image/format,png)
分布式事务基础
![](https://img-blog.csdnimg.cn/img_convert/9e09806af3274f629a8bf7d022eb9405.webp?x-oss-process=image/format,png)
Seata实现分布式事务控制
扩展章节:Dubbo-rpc通信
dubbo介绍
dubbo实现服务调用
![](https://img-blog.csdnimg.cn/img_convert/fca5ce26de2348d5ad1abeae4a85dc42.webp?x-oss-process=image/format,png)