testcontainers-spring-boot icon indicating copy to clipboard operation
testcontainers-spring-boot copied to clipboard

[feature] Add lettuce driver for redis

Open bilak opened this issue 5 months ago • 2 comments

Is your feature request related to a problem? Please describe. I'd like to use redis in cluster mode while also have the possibility to run reactive stuff. Currently there is only jedis lib which is synchronous, for asyn/reactive stuff we would need to have Lettuce.

Describe the solution you'd like Have a possibility to decide which library we want to use (e.g for synchronous or reactive paradigm)

bilak avatar Aug 06 '25 13:08 bilak

Hi. you can use any library, test container provide only connection url, also you can use different version of redis container

ijusti avatar Aug 11 '25 15:08 ijusti

There is some kind of autoconfiugration issue. When I tried to setup this container with spring-cloud-gateway and RedisRouteDefinitionRepository it just didn't worked since there was no autoconfig for reactive stack.

bilak avatar Aug 11 '25 17:08 bilak