Kubernetes implementations of Spring Cloud interfaces, letting Spring Cloud apps use Kubernetes for service discovery and configuration.
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
Add the spring-cloud-tencent BOM to your dependencyManagement
- 2
Add the spring-cloud-starter-tencent-polaris-discovery dependency
- 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
A Go RPC framework for building microservices, with pluggable service discovery, multiple transports and codecs, and cross-language access over HTTP.
Spring Cloud integration with Netflix OSS components such as Eureka service discovery for Spring Boot applications.
An API gateway built on Spring Framework and Spring Boot for routing and filtering HTTP requests in microservice setups.
Spring Boot starter that runs gRPC servers and clients from annotations like @GrpcService and @GrpcClient, with no manual channel or server setup.
A Java-based API gateway for service proxying, protocol conversion, and API governance, with a plugin chain and a central Admin console.