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.
spring-cloud-tencent/README.md

4.7 KiB

Spring-Cloud-Tencent-Logo

Wiki Maven Central Contributors License

Test with Junit codecov.io

English | 简体中文

Introduction

Spring Cloud Tencent is a open source one-stop microservice solution from Tencent.

Spring Cloud Tencent implements the Spring Cloud standard microservice SPI, so developers can quickly develop Spring Cloud cloud-native distributed applications based on Spring Cloud Tencent.

The core of Spring Cloud Tencent relies on Tencent's open-source one-stop service discovery and governance platform PolarisMesh to realize various distributed microservice scenarios.

The capabilities provided by Spring Cloud Tencent include but are not limited to:

image
  • Service registration and discovery
  • Dynamic configuration management
  • Service Governance
    • Service rate limit
    • Service circuit breaker
    • Service routing
    • ...
  • Label transparent transmission

Demo Environment

The example addresses under spring-cloud-tencent-example all point to the experience service address (grpc://183.47.111.80:8091) by default. If you only experience Spring Cloud Tencent, you can run any example directly with one click.

Screenshots

sc

Use Guide

All the components of Spring Cloud Tencent have been uploaded to the Maven central repository, just need to introduce dependencies.

Notice:

Support Spring Cloud 2022.0, 2021.0, 2020.0, Hoxton.

The version list of Spring Cloud Tencent can be found in Spring Cloud Tencent Version Management .

For example:

<!-- add spring-cloud-tencent bom  -->
<dependencyManagement>
    <dependencies>
        <dependency>
            <groupId>com.tencent.cloud</groupId>
            <artifactId>spring-cloud-tencent-dependencies</artifactId>
            <!--version number-->
            <version>1.10.2-2020.0.5</version>
            <type>pom</type>
            <scope>import</scope>
        </dependency>
    </dependencies>
</dependencyManagement>    
                 
<!-- add spring-cloud-starter-tencent-polaris-discovery dependency  -->
<dependencies>
    <dependency>
        <groupId>com.tencent.cloud</groupId>
        <artifactId>spring-cloud-starter-tencent-polaris-discovery</artifactId>
    </dependency>
</dependencies>

Develop Guide

You can build this project with command:

## MacOS or Linux
./mvnw clean package

## Win
.\mvnw.cmd clean package

Documents

Pelease refer to Wiki

Chat Group

Please scan the QR code to join the chat group.

License

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

Stargazers over time

If you are interested in Spring Cloud Tencent, please follow our project, thank you very much.

Stargazers over time