Spring Cloud Tencent Rate Limit 模块内置了针对 Spring Web 和 Spring WebFlux 场景的限流Filter,结合北极星的限流功能帮忙业务快速接入限流能力。dependencyManagement:<dependencyManagement><dependencies><dependency><groupId>com.tencent.cloud</groupId><artifactId>spring-cloud-tencent-dependencies</artifactId><version>${version}</version><type>pom</type><scope>import</scope></dependency></dependencies></dependencyManagement>
spring-cloud-starter-tencent-all 引入 sct 所有 starters。<dependency><groupId>com.tencent.cloud</groupId><artifactId>spring-cloud-starter-tencent-all</artifactId></dependency>
spring-cloud-starter-tencent-polaris-ratelimit。<dependency><groupId>com.tencent.cloud</groupId><artifactId>spring-cloud-starter-tencent-polaris-ratelimit</artifactId></dependency>
spring:application:name: ${application.name}cloud:polaris:enabled: trueaddress: grpc://${修改为第一步部署的 Polaris 服务地址}:8091namespace: defaultratelimit:enabled: true


The request is deny by rate limit because the throttling threshold is reached
文档反馈