Category "spring-data-redis"

how to fetch single attribute from redis cache spring boot?

how to fetch a single attribute from Redis cache spring boot? I want a response like this one { "answer": "FHFHFHFHFH" } but getting

How to create a second RedisTemplate instance in a Spring Boot application

According to this answer, one RedisTemplate cannot support multiple serializers for values. So I want to create multiple RedisTemplates for different needs, spe

Converting a lua table to a java `Map` with Spring Data Redis

I am trying to run a lua script which eventually returns a lua table, then convert it as java Map with Spring Data Redis. When the result is array style lua tab

Mock redis template

I am facing a issue in mock redis template. Can any one help me to write unit test for below class. @Repository public class CasheRepo { @Autowired pr

How can I easily cache Kotlin Objects in Redis using json via Jackson?

I have a Spring boot app written in Kotlin where I would like to enable caching in Redis. I'd like to have the objects stored as serialized JSON and ideally don

Spring cache and Spring data redis

Spring cache + Spring redis: Spring provides a caching abstraction package spring-boot-starter-cache which basically provides method level annotations to cache