Repolode
Tencent

Tencent/spring-cloud-tencent

A Spring Cloud implementation that integrates Spring Cloud applications with Tencent's Polaris for service discovery and governance.

Stars
3,293
Forks
508
Open issues
7
Last commit
12 days ago

What is it?

Spring Cloud Tencent implements the standard Spring Cloud SPI and connects Spring Cloud applications to Tencent middleware, with Polaris as the primary service discovery and governance backend. Developers add the project's starter dependencies to a Spring Cloud application instead of writing custom integration code.

The project covers the common microservice concerns: service registration and discovery, health checks, customizable routing and load balancing, rate limiting and access control, circuit breaking for services, interfaces and instances, and configuration management with version control, grayscale release and dynamic updates. Components are published to Maven Central, and version compatibility is tracked in the project wiki.

The repository includes build instructions based on the Maven wrapper and links to a public Polaris console and server address for trying the example applications.

Key features

  • 01Implements the standard Spring Cloud SPI so existing Spring Cloud code works with Tencent components.
  • 02Service discovery and registration through Polaris, with health checks.
  • 03Customizable routing, load balancing, rate limiting and access control.
  • 04Circuit breaking at service, interface and instance levels.
  • 05Configuration version control, grayscale release and dynamic updates.
  • 06Components published to Maven Central with a BOM for version management.

Use cases

  • Running Spring Cloud microservices that need Polaris as the registry and governance layer.
  • Doing traffic routing or grayscale releases across service instances.
  • Adding rate limiting and circuit breaking to Spring-based services without custom glue code.

Quick start

  1. 1

    Add the spring-cloud-tencent BOM to your dependencyManagement

  2. 2

    Add the spring-cloud-starter-tencent-polaris-discovery dependency

  3. 3

    Build the project on Linux or macOS

    ./mvnw clean package

Things to know

  • Service discovery and governance require a Polaris server, and the README's public example server is only for experimenting.
  • The compatible version for your Spring Cloud release must be looked up in the project wiki, since the README does not list it.

In collections

Topics

FAQ

What is spring-cloud-tencent?
A Spring Cloud implementation that integrates Spring Cloud applications with Tencent's Polaris for service discovery and governance. Spring Cloud Tencent implements the standard Spring Cloud SPI and connects Spring Cloud applications to Tencent middleware, with Polaris as the primary service discovery and governance backend. Developers add the project's starter dependencies to a Spring Cloud application instead of writing custom integration code.
Is spring-cloud-tencent free to use? What license does it have?
spring-cloud-tencent is open source under the Other license. Check the license terms before using it in commercial products.
Is spring-cloud-tencent still maintained?
Actively maintained. The last commit to spring-cloud-tencent was on Oct 27, 2026.
What can I use spring-cloud-tencent for?
Running Spring Cloud microservices that need Polaris as the registry and governance layer. Doing traffic routing or grayscale releases across service instances. Adding rate limiting and circuit breaking to Spring-based services without custom glue code.
How do I install spring-cloud-tencent?
Add the spring-cloud-tencent BOM to your dependencyManagement Add the spring-cloud-starter-tencent-polaris-discovery dependency Build the project on Linux or macOS: ./mvnw clean package
Where can I get spring-cloud-tencent?
The source code and installation instructions are on GitHub: https://github.com/Tencent/spring-cloud-tencent

Summary generated by AI from the project's README. GitHub stats refresh daily.

Related projects