说说我为什么看好Spring Cloud Alibaba

8次阅读

共计 1915 个字符,预计需要花费 5 分钟才能阅读完成。

最近对《Spring Cloud Alibaba 基础教程》系列的催更比较多,说一下最近的近况:因为打算 Spring Boot 2.x 一起更新。所以一直在改博客 Spring Boot 专题页和 Git 仓库的组织。由于前端技术太过蹩脚,花了不少时间。大家不用担心,这个系列不会太监,因为我真心看好这个套件的未来,后续的更新也会继续赶上来。
今天就水更一篇吧,跟大家聊一下平时被问的比较多的一类问题,Spring Cloud Alibaba 是什么,我为什么要写 Spring Cloud Alibaba 基础教程?
Spring Cloud Alibaba 是什么
简介
Spring Cloud Alibaba 从名字上看,就知道一定跟 Spring Cloud 有关,但是我们为什么在 Spring Cloud 官方文档中看不到它的影子呢?因为它目前还是一个孵化项目,它的仓库也位于 Spring Cloud 孵化器中,Github 地址:https://github.com/spring-cloud-incubator/spring-cloud-alibaba。
版本关系
虽然它还没有纳入 Spring Cloud 的主版本管理(Dalston、Edgware、Finchley、Greenwich 这些),但是也已经发布了几个针对目前常用 Spring Cloud 版本的可用内容,也有一些公司已经将其用于生产环境。了解 Spring Cloud 的读者肯定知道,Spring Cloud 的版本与 Spring Boot 的版本有着密切的关系,现在又多了一个 Spring Cloud Alibaba,那么它们的关系是怎么样的呢?可以看看之前写过的这篇文章:Spring Cloud Alibaba 与 Spring Boot、Spring Cloud 之间不得不说的版本关系
功能特性:
Spring Cloud Alibaba 不是一个简单的组件,而是一个综合套件。其中涵盖了非常多的内容,包括:服务治理、配置管理、限流降级以及对阿里开源生态(Dubbo、RocketMQ 等)支持的诸多组件。更多详细详细,读者可查阅其官方文档。
为什么要写 Spring Cloud Alibaba 基础教程
首先,我们需要知道 Spring Cloud Alibaba 在 Spring Cloud 家族中的地位,它是一个套件,与 Netflix OSS 一样,涵盖了非常多的实用组件,其中也有不少内容存在重叠。
其次,我们需要知道 Netflix OSS 下的诸多重要组件先后宣布停止新功能开发的大背景,而 Spring Cloud Alibaba 是一个新生项目,正处于高速迭代中。对于未来,相信谁都会选。
再次,对于中国用户来说,Spring Cloud Alibaba 还有一个非常特殊的意义:它将曾经红极一时的 Dubbo,以及阿里巴巴的强力消息中间件 RocketMQ 融入 Spring Cloud 体系。还在纠结于如何让这些共存的团队,你们所面临过的各种困难与问题,马上就会迎刃而解。不用再烦恼是不是要扩展 Dubbo 的注册中心,还是自己为 RocketMQ 实现一套的 Spring Cloud Stream 的 Binder 等等问题。
最后,对于 Spring Cloud Alibaba 的上手学习成本如何呢?如果您已经是 Spring Cloud 的用户,那么恭喜您,在 Spring Cloud Common 的抽象和 Spring Cloud Alibaba 团队的努力下,你会非常容易、甚至不需要改变多少编码模式,就能适应它。如果您第一次接触 Spring Cloud,那么也恭喜您,因为这是有史以来,中文文档最全的一个 Spring Cloud 组件了,相信机智的您一定也能很快的上手使用它!
如果你觉得一堆文档,不知道从何看起?那我就是我想写的这个教程的目的,在那么多内容中,带你快速入门这个最具有中国特色的 Spring Cloud 组件!^_^
关注我的 Spring Cloud 基础教程
以下是当前已发布内容

Spring Cloud Alibaba 基础教程:使用 Nacos 实现服务注册与发现
Spring Cloud Alibaba 基础教程:Nacos 生产级版本 0.8.0
Spring Cloud Alibaba 基础教程:支持的几种服务消费方式
Spring Cloud Alibaba 基础教程:使用 Nacos 作为配置中心
Spring Cloud Alibaba 基础教程:Nacos 配置的加载规则详解
Spring Cloud Alibaba 基础教程:Nacos 配置的多环境管理
Spring Cloud Alibaba 基础教程:Nacos 配置的多文件加载与共享配置
Spring Cloud Alibaba 基础教程:Nacos 的数据持久化
Spring Cloud Alibaba 基础教程:Nacos 的集群部署

正文完
 0