You can not 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
SkyeBeFreeman f454bf65d1
docs:update README.md
3 years ago
.mvn/wrapper feat:first commit 3 years ago
spring-cloud-tencent-converage feat:first commit 3 years ago
spring-cloud-tencent-dependencies feat:first commit 3 years ago
spring-cloud-tencent-docs feat:first commit 3 years ago
spring-cloud-tencent-examples feat:first commit 3 years ago
spring-cloud-tencent-starters feat:first commit 3 years ago
.gitignore feat:first commit 3 years ago
CONTRIBUTING.md feat:first commit 3 years ago
Code-of-Conduct.md feat:first commit 3 years ago
LICENSE feat:first commit 3 years ago
README-zh.md feat:first commit 3 years ago
README.md docs:update README.md 3 years ago
mvnw feat:first commit 3 years ago
mvnw.cmd feat:first commit 3 years ago
pom.xml feat:first commit 3 years ago

README.md

Spring Cloud Tencent

Spring Cloud Tencent contains components distributed micro-service applications need during developing phase, developers that built their key architectures based on Spring Cloud can use these components

Based on Spring Cloud Tencent, you only need a small configuration to launch Spring Cloud and micro-service's joint solutions.

Key Features

  • Service Registration and DiscoveryBased on Spring Cloud's discovery and registration standard.
  • Service Routing and LoadBalancerBased on ribbon's API port, provide dynamic routing and load balancing use cases.
  • CircuitBreaker NodeSupport circuitbreak's auto-reset ability, ensure the reliability of distributed server
  • Rate LimiterSupport rate limit between microservice and access layer, ensure the stability of backend, one can configure policies and traffic data from the control panel

Component

PolarisPolaris Spring Cloud operation centre, provide solutions to registration, dynamic routing, load balancing and circuitbreaker.

How to build

  • master's branch matches Spring Cloud Hoxton, support lowest at JDK 1.8.

Spring Cloud Tencent uses Maven to construct, the fastest way is to cone project to local files, then execute the following orders:

./mvnw install

When all the steps are finished, the project will be installed in local Maven repository.

How to Use

How to Introduce Dependency

Add the following configurations n dependencyManagement, then add the dependencies you need.

    <dependencyManagement>
        <dependencies>
            <dependency>
                <groupId>com.tencent.cloud</groupId>
                <artifactId>spring-cloud-tencent-dependencies</artifactId>
                <!--version number-->
                <version>${version}</version>
                <type>pom</type>
                <scope>import</scope>
            </dependency>
        </dependencies>
    </dependencyManagement>

Example

Spring Cloud Tencent project contains a sub-module spring-cloud-tencent-examples. This module provides examples for users to experience, you can read the README.md in each example, and follow the instructions there.

Example List:

Version Standard

Adopt a version policy related to Spring Cloud's major version number

Project version includes major version. minor version. patch version. Correspond with the version of Spring Cloud release. major version. minor version. patch version are in numbers, start from 0. This project is in the incubating phase, major version number is set to 0. Spring Cloud's version number is the same as the English version number, like Hoxton, Greenwich. Release type will include RELEASE, RC, BETA.

For example: 0.1.0.Hoxton.BETA

License

The spring-cloud-tencent is licensed under the BSD 3-Clause License. Copyright and license information can be found in the file LICENSE