Recently, Spring Cloud released the first preview version of Spring Cloud Alibaba: Spring Cloud for Alibaba 0.2.0.

Everyone is wondering, what does this have to do with Alibaba? Is it a customized Spring Cloud for Alibaba?

In fact, it’s almost the same, so let me show you what the hell is going on here?

What is Spring Cloud for Alibaba?

Officer xuan: spring. IO/blog / 2018/1…

The official definition is as follows:

Consisting of Alibaba’s open-source components and several Alibaba Cloud products, aims to implement and expose well known Spring Framework patterns and abstractions to bring the benefits of Spring Boot and Spring Cloud to Java developers using Alibaba products.

Stack length

Spring Cloud for Alibaba, which is made up of some Of Alibaba’s open source components and Cloud products. The purpose of this project is to make the well-known Spring framework, with its excellent design pattern and abstract concept, more convenient for Java developers using Alibaba products to use Spring Boot and Spring Cloud.

Note: This project is an open source community project maintained by Alibaba.

Why is the first release 0.2.0?

X and Spring Boot 2.x, so 0.2.0 is compatible with Spring Boot 2.x and 0.1.0 is compatible with Spring Boot 1.x.

That makes sense.

Project components

The alibaba open source component mentioned above, its project prefix is: Spring-Cloud-Alibaba, it has several features.

  • Service discovery
  • Configuration management
  • Secure high availability

The alibaba cloud product mentioned above, its project prefix is: Spring-Cloud-Alicloud, it has several features.

  • Application naming service
  • Application Configuration Management
  • Object Storage Service

How to use it?

Both Spring Cloud for Alibaba 0.1.0.RELEASE and 0.2.0.RELEASE packages have been submitted to the Maven central repository.

The Maven dependencies of Spring Cloud for Alibaba 0.2.0.RELEASE are as follows:

<dependencyManagement> <dependencies> <dependency> <groupId>org.springframework.cloud</groupId> The < artifactId > spring - the cloud - alibaba - dependencies < / artifactId > < version > 0.2.0. RELEASE < / version > <type>pom</type>
            <scope>import</scope>
        </dependency>
    </dependencies>
</dependencyManagement>
Copy the code

The follow-up plan

1, RocketMQ

RocketMQ is Alibaba’s open source Java-based message queue middleware, Spring Cloud currently integrates only Kafka and RabbitMQ message queues. Spring Cloud Stream and Spring Cloud Bus will integrate RocketMQ.

2, AliCloud SchedulerX

Ali Cloud SchedulerX, a distributed task scheduling tool developed by Alibaba middleware team, supports cyclic tasks and task triggering at a specified time.

3, AliCloud SLS

Alibaba Cloud SLS, a one-stop log management service, is an effective tool for Alibaba Group, which has experienced big data challenges again and again. It can quickly collect, use, deliver, query, and analyze log data without contaminating any code.

4. Spring Cloud Release Train

The Spring Cloud Alibaba project will graduate from the incubator in 2019 and officially join the Spring Cloud launch track.

Program source code

Github.com/spring-clou…

It’s 1700+ Star.

Stack length has something to say

In fact, the project of Spring Cloud for Alibaba aims to integrate Ali’s project into Spring Boot & Cloud. Currently, this project is maintained by Ali.

For those who use Spring Boot & Cloud and Alibaba project at the same time, it undoubtedly brings great convenience. On the one hand, it can integrate Spring seamlessly and on the other hand, it can also use Alibaba components, which also brings more choices.

Feel Dubbo’s transformation after joining Apache incubator “Amazing, Dubbo domain name has changed, and is no longer limited to Java!!” At the same time, now more outstanding Ali products into the open source community, I believe that the Java development environment will be better and better, Java will be more and more powerful!

Finally, you can get a series of Spring Cloud tutorials by clicking on the wechat official account of Java Technology stack. A large number of tutorials are still being written.

  • High availability setup of Spring Cloud configuration center
  • How to choose multiple Versions of Spring Cloud
  • What is Spring Cloud, compared to Dubbo
  • Spring Cloud registry high availability setup
  • Spring Cloud Eureka self-protection mechanism