Overview

You can easily connect Spring Cloud applications to microservice engines without modifying code.

The advantages of accessing ServiceComb are as follows:

  1. Enable you to focus on the development of service systems so that you do not pay attention to middleware reliability evaluation and cluster deployment.
  2. Ensure quick service delivery and agile development. You can use ServiceStage to dynamically adjust resource usage based on the service scale to reduce service risks.
  3. Route management: Traffic can be distributed to different microservice instances based on configurations to implement dark launch.
  4. Service mesh: PHP, Python, Go, and .NET Core applications can be connected to the registry center through service mesh and achieve unified governance together with Spring Cloud applications.

This section describes the principle and process of accessing Spring Cloud applications to microservice engines.

spring-cloud-huawei is used for access. The starter mechanism of Spring Boot is used for Spring Cloud extension. To connect your applications to the cloud, you only need to import corresponding starter dependencies and make simple configurations, but do not need to change any code. spring-cloud-huawei is released in the Maven central repository. You can log in to the GitHub website to view the latest release version.

Version is introduced. You are advised to use dependencyManagement to manage dependencies in a unified manner.
<dependencyManagement>   
  <dependencies>   
    <dependency>     
      <groupId>com.huaweicloud</groupId>     
      <artifactId>spring-cloud-huawei-dependencies</artifactId>   
      <version>${project.version}</version>     
      <type>pom</type>       
      <scope>import</scope>    
    </dependency> 
  </dependencies> 
</dependencyManagement>

Version mapping:

Spring Cloud Huawei supports all Spring Cloud series.

The Spring Cloud official website does not maintain the Edgware and Finchley versions, and the corresponding Spring Cloud Huawei does not maintain these two versions. In this case, only basic service access is provided. Bug fixing and security issue resolving will not be supported.

Spring Cloud Hoxton (preferred) and Spring Cloud Huawei mapping Spring Cloud Greenwich are recommended. In addition, new features are preferentially updated in the corresponding Spring Cloud Hoxton version. For Spring Cloud Greenwich, only basic bug fixing and security issue resolving are provided.