前面我们已经学习过 Spring Cloud Config 了: Spring Cloud 系列之 Config 配置中心(一) Spring Cloud 系列之 Config 配置中心(二) Spring Cloud 系列之 Config 配置中心(三) 它提供了配置中心的功能,但是需要配合 git.svn 或外部存储(例如各种数据库),且需要配合 Spring Cloud Bus <Spring Cloud 系列之 Bus 消息总线>实现配置刷新. 前面的课程中我们也学习了 Spring…
本篇文章为系列文章,未读前几集的同学请猛戳这里: Spring Cloud 系列之 Apollo 配置中心(一) Spring Cloud 系列之 Apollo 配置中心(二) 本篇文章讲解 Apollo 多环境部署方案,教大家搭建除了 DEV 的其他环境. 多环境部署方案 点击链接观看:Apollo 多环境部署说明视频(获取更多请关注公众号「哈喽沃德先生」) 为了让大家有更真实的感受,多环境部署方案我们在 Linux 环境下搭建,不再使用 Quick Start 脚本. 当项目要上线部署到生产…
本篇文章为系列文章,未读前几集的同学请猛戳这里: Spring Cloud 系列之 Apollo 配置中心(一) Spring Cloud 系列之 Apollo 配置中心(二) Spring Cloud 系列之 Apollo 配置中心(三) 本篇文章讲解 Apollo 高可用环境搭建,灰度发布,教大家搭建企业中真实环境的配置中心. 高可用环境搭建 点击链接观看:Apollo 高可用环境搭建视频(获取更多请关注公众号「哈喽沃德先生」) 分析 数据库高可用 方案很多,比如双主结构.主从结构.异地备份…
本文基于 Spring Cloud 2020.0 发布版的依赖 本系列会深入分析 Spring Cloud 的每一个组件,从Spring Cloud Commons这个 Spring Cloud 所有元素的抽象说起,深入设计思路与源码,并结合实际使用例子深入理解.本系列适合有一定 Spring 或者 Spring Boot 使用经验的人阅读. 什么是Spring Cloud Commons Spring Cloud框架包括如下功能: 分布式多版本配置管理 服务注册与发现 路由 微服务调用 负载均…