/spring-cloud-tencent

Spring Cloud Tencent is a Spring Cloud based Service Governance Framework provided by Tencent.

Primary LanguageJavaOtherNOASSERTION

Spring-Cloud-Tencent-Logo

Wiki Maven Central Contributors License

Build Status 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:

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.8.1-2021.0.3</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

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