You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
Go to file
tiger 1c759ec8d5 add spring-cloud-alibaba-sentinel-zuul module 6 years ago
.circleci Adds spring profile to circleci 6 years ago
.mvn upload maven-wrapper.jar to fix error in execute mvnw & modify branch name in README 7 years ago
spring-cloud-alibaba-dependencies Merge pull request #55 from fangjian0423/master 6 years ago
spring-cloud-alibaba-examples Merge remote-tracking branch 'upstream/master' 6 years ago
spring-cloud-alibaba-nacos-config Updates to snapshot versions 6 years ago
spring-cloud-alibaba-nacos-discovery Updates to snapshot versions 6 years ago
spring-cloud-alibaba-sentinel Merge remote-tracking branch 'upstream/master' 6 years ago
spring-cloud-alibaba-sentinel-datasource Updates to snapshot versions 6 years ago
spring-cloud-alibaba-sentinel-zuul add spring-cloud-alibaba-sentinel-zuul module 6 years ago
spring-cloud-alibaba-test Updates to snapshot versions 6 years ago
spring-cloud-alicloud-oss Updates to snapshot versions 6 years ago
spring-cloud-starter-alibaba Merge remote-tracking branch 'upstream/master' 6 years ago
spring-cloud-starter-alicloud Updates to snapshot versions 6 years ago
.gitignore hello, spring cloud alibaba 7 years ago
LICENSE Initial commit 7 years ago
README-zh.md refactor storage module: rename storage to oss 6 years ago
README.md refactor storage module: rename storage to oss 6 years ago
Roadmap-zh.md rename alibaba storage to alicloud storage 6 years ago
Roadmap.md update readme 6 years ago
mvnw hello, spring cloud alibaba 7 years ago
mvnw.cmd hello, spring cloud alibaba 7 years ago
pom.xml add spring-cloud-alibaba-sentinel-zuul module 6 years ago

README.md

Spring Cloud Alibaba

See the 中文文档 for Chinese readme.

Spring Cloud Alibaba provides a one-stop solution for distributed application development. It contains all the components required to develop distributed applications, making it easy for you to develop your applications using Spring Cloud.

With Spring Cloud Alibabayou only need to add some annotations and a small amount of configurations to connect Spring Cloud applications to the distributed solutions of Alibaba, and build a distributed application system with Alibaba middleware.

Features

  • Flow control and service degradationFlow control for HTTP services is supported by default. You can also customize flow control and service degradation rules using annotations. The rules can be changed dynamically.
  • Service registration and discoveryService can be registered and clients can discover the instances using Spring-managed beans, auto integration Ribbon.
  • Distributed configurationsupport for externalized configuration in a distributed system, auto refresh when configuration changes.
  • AliCloud Object Storagemassive, secure, low-cost, and highly reliable cloud storage services. Support for storing and accessing any type of data in any application, anytime, anywhere. For more features, please refer to Roadmap.

Components

Sentinel: Sentinel takes "traffic flow" as the breakthrough point, and provides solutions in areas such as flow control, concurrency, circuit breaking, and load protection to protect service stability.

Nacos: an easy-to-use dynamic service discovery, configuration and service management platform for building cloud native applications.

AliCloud OSS: An encrypted and secure cloud storage service which stores, processes and accesses massive amounts of data from anywhere in the world.

For more features please refer to Roadmap.

How to build

  • master branch: Corresponds to Spring Boot 2.x. JDK 1.8 or later versions are supported.
  • 1.x branch: Corresponds to Spring Boot 1.xJDK 1.7 or later versions are supported.

Spring Cloud uses Maven for most build-related activities, and you should be able to get off the ground quite quickly by cloning the project you are interested in and typing:

./mvnw install

How to use

A spring-cloud-alibaba-examples module is included in our project for you to get started with Spring Cloud Alibaba quickly. It contains an example, and you can refer to the readme file in the example project for a quick walkthrough.

Examples

Sentinel Example

Nacos Config Example

Nacos Discovery Example

AliCloud OSS Example

Version control guidelines

The version number of the project is in the form of x.x.x, where x is a number, starting from 0, and is not limited to the range 0~9. When the project is in the incubator phase, the first version number is fixed to 0, that is, the version number is 0.x.x.

As the interfaces and annotations of Spring Boot 1 and Spring Boot 2 have been changed significantly in the Actuator module, and spring-cloud-commons is also changed quite a lot from 1.x.x to 2.0.0, we maintain two different branches to support Spring Boot 1 and Spring Boot 2:

  • 0.1.x for Spring Boot 1
  • 0.2.x for Spring Boot 2

During the incubation periodthe version management of the project will follow these rules

  • Functional updates will be reflected in the 3rd number of the version, for example, the next version of 0.1.0 will be 0.1.1。

Contact Us

Mailing list is recommended for discussing almost anything related to spring-cloud-alibaba.

spring-cloud-alibaba@googlegroups.com:You can ask questions here if you encounter any problem when using or developing spring-cloud-alibaba.