spring-cloud / spring-cloud/spring-cloud-commons

Add loadbalancer Cache support for redis

Open
#1,187 1 comment 0 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.