Overview of Spring Cloud application development

Updated at:
Copy as MD

Serverless App Engine (SAE) supports the native Spring Cloud microservice framework. You can migrate Spring Cloud applications to SAE by adding service dependencies and modifying registry configurations, with zero code changes. SAE provides enterprise-level application hosting, governance, monitoring, alerting, and diagnosis capabilities.

Benefits of Spring Cloud

Spring Cloud provides standards and specifications that simplify application development, including service discovery, load balancing, circuit breakers, configuration management, message event triggering, and message bus. It also supports gateways, distributed tracing, security, distributed job scheduling, and distributed job coordination.

Commonly used Spring Cloud components include Spring Cloud Netflix, Spring Cloud Consul, and Spring Cloud Alibaba.

If you developed an application with Spring Cloud components such as Spring Cloud Netflix or Spring Cloud Consul, you can deploy it on SAE for application hosting. SAE also provides advanced monitoring features, including end-to-end tracing, monitoring, alerting, and application diagnosis, without requiring any code changes.

To use additional service governance features in SAE, replace your existing Spring Cloud components with Spring Cloud Alibaba components or add them alongside your current setup.

Compatibility

SAE supports Spring Cloud Greenwich, Finchley, and Edgware. For version mappings among Spring Cloud, Spring Boot, and Spring Cloud Alibaba, see Version mappings.

The following table lists Spring Cloud features, their open source components, and SAE compatibility.
Spring Cloud feature Open source component Compatibility with SAE
General features Service registration and discovery
  • Netflix Eureka
  • Consul Discovery
Compatible and substitute components available
Load balancing Netflix Ribbon Compatible
Service calls
  • Feign
  • RestTemplate
Compatible
Configuration management
  • Config Server
  • Consul Config
Compatible and substitute components available
Service gateway
  • Spring Cloud Gateway
  • Netflix Zuul
Compatible
Tracing Spring Cloud Sleuth Compatible and substitute components available
Spring Cloud Stream
  • RabbitMQ binder
  • Kafka binder
Compatible and substitute components available
Spring Cloud Bus
  • RabbitMQ
  • Kafka
Compatible and substitute components available
Security Spring Cloud Security Compatible
Distributed job scheduling Spring Cloud Task Yes
Distributed coordination Spring Cloud Cluster Compatible

Version mappings

The following table lists the version mappings among Spring Cloud, Spring Boot, Spring Cloud Alibaba, and the commercialized components of SAE.

Spring Cloud Spring Boot Spring Cloud Alibaba
ANS ACM SchedulerX
Greenwich 2.1.x 2.1.1.RELEASE
Finchley 2.0.x 2.0.1.RELEASE
Edgware 1.5.x 1.5.1.RELEASE
Hoxton 2.2.x 2.2.x
Note Spring Cloud Alibaba Nacos Discovery is an open source component of ANS, and Spring Cloud Alibaba Nacos Config is an open source component of ACM.