目录:基于 Spring Cloud Hoxton 版本、Spring Cloud Alibaba Nacos 1.3.1 版本、Sentinel 1.7.2 版本、Seata 1.2.0 版本 介绍
- 微服务架构 与 Spring Cloud 的前世今生
- Spring Boot 与 Spring Cloud 之间的版本选择
- 基于 RestTemplate 搭建微服务工程
- Spring Cloud 整合 Eureka 实现服务注册中心
- 自定义服务在 Eureka 上的实例名
- 关闭 Eureka 自我保护模式
- Eureka 开启账号密码认证、开启 https 支持
- Spring Cloud 整合 Zookeeper 实现服务注册中心
- Spring Cloud 整合 Consul 实现服务注册中心
- Spring Cloud 整合 Ribbon 实现服务调用(负载均衡)
- Spring Cloud 整合 OpenFeign 实现服务调用(负载均衡)
- Feign 使用 @SpringQueryMap 来解决多参数传递问题
- 利用 Spring Security 实现微服务之间简单的安全校验
- Spring Cloud 整合 Hystrix 实现服务降级、服务熔断、服务限流
- Hystrix Dashboard 可视化监控
- Turbine 聚合 Hystrix,实现在 Hystrix Dashboard 中监控多个服务
- Spring Cloud Gateway 微服务新一代网关
- Spring Cloud Gateway 动态路由管理,一点都不吹,应该没有比这更好的管理系统了吧
- Spring Cloud Config 实现分布式配置中心、动态刷新机制配置
- Spring Cloud Bus 服务总线,实现全局广播/定点通知
- Spring Cloud Stream 消息驱动,MQ之间交流更灵活
- Spring Cloud Sleuth + Zipkin 分布式链路追踪,链路调用更清晰
- Spring Cloud Alibaba 加入 Spring Cloud 体系
- Spring Cloud Alibaba Nacos 用于服务注册和配置中心
- Nacos 集群搭建和持久化配置
- Spring Cloud Alibaba Sentinel 介绍、简单使用
- Spring Cloud Alibaba Sentinel 流控、降级、热点、系统规则详解
- Spring Cloud Gateway集成sentinel进行网关限流(版本:Spring Boot 3.1.0 + Cloud Alibaba 2022.0.3 + Sentinel 1.8.6)
- 来聊聊@SentinelResource的用法
- Sentinel 控制台规则持久化(预留,未细研究,反正持久化到Nacos很鸡肋)
- Spring Cloud Alibaba Seata 分布式事务解决方案简介
- Spring Cloud 整合 Nacos 1.3.1 + Seata 1.2.0 集群部署(Windows版 全网最详细)
文中附有每一篇博客相对应的代码。全套代码已上传 GitHub,地址:https://github.com/Liuzebiao/cloud2020,方便大家拉取。
虽然内容还有不全,如后续有时间,会继续新增。
所有内容都经博主测试,一字一码,本着亲自编写的原则,欢迎指出问题
博主写作不易,来个关注呗
求关注、求点赞,加个关注不迷路 ヾ(◍°∇°◍)ノ゙
我不能保证所写的内容都正确,但是可以保证不复制、不粘贴。保证每一句话、每一行代码都是亲手敲过的,错误也请指出,望轻喷 Thanks♪(・ω・)ノ