[Question] Can I use RateLimiter with my Spring Cloud Gateway?
- Dominant language
- Java
- Stars
- 8.8k
- Forks
- 3.1k
- Avg merge
- 7d 1h
- Merged PRs (30d)
- 85
Description
### Question
I want to use ShenYu RateLimiter with my Spring Cloud Gateway.
I tried, but springCloud proxy wasn't applied.
Thank you for your reply.
```
// application.yml
server:
port: 8000
spring:
application:
name: springCloudTest
cloud:
gateway:
routes:
- id: first-service
uri: http://localhost:8083/
predicates:
- Path=/first-service/**
- id: second-service
uri: http://localhost:8084/
predicates:
- Path=/second-service/**
shenyu:
register:
registerType: http
serverLists: http://localhost:9095
props:
username: admin
password: 123456
client:
springCloud:
props:
contextPath: /spring
addPrefixed: false
```

Contributor guide
No contributing guide indexed for this repository
Research direction
Start with the Spring Cloud Gateway routes and the shenyu.client.springCloud configuration shown in application.yml, then inspect how RateLimiter is expected to interact with the Spring Cloud proxy. Reproduce the missing proxy behavior using the two configured routes and determine the expected result; the issue provides no tests or source files to identify.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, spring
- Domain
- api, backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100