spring-cloud / spring-cloud/spring-cloud-commons
Add loadbalancer Cache support for redis
Open
Nobody has claimed this yet.
enhancement
- Dominant language
- Java
- Stars
- 751
- Forks
- 744
- Avg merge
- 1d 14h
- Merged PRs (30d)
- 9
Description
Describe the bug
I have set spring.cache.type: redis I expected gateway to use it but it appears to be hard coded to use Caffiene only in LoadBalancerCacheAutoConfiguration
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with LoadBalancerCacheAutoConfiguration, which the issue identifies as the code path using Caffeine despite spring.cache.type: redis. Trace how the gateway selects its load-balancer cache and determine what must change for Redis support. Done means the configured Redis cache is used instead of only Caffeine; the payload names no test file.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, redis, spring-boot
- Domain
- backend, infrastructure
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100