Top "Spring-data-redis" questions

Spring Data Redis, part of the larger Spring Data family, provides easy configuration and access to Redis from Spring applications.

how to configure redis ttl with spring boot 2.0

I am using redis in spring boot 2.0. I wanted the data stored in redis to be set to TTL. So …

spring-boot spring-data-redis
Mock redis template

I am facing a issue in mock redis template. Can any one help me to write unit test for below …

java unit-testing redis mockito spring-data-redis
Redis Serialization and Deserialization

I have noticed that some of my serialized objects stored in Redis have problems deserializing. This typically occurs when I …

redis deserialization spring-data serializable spring-data-redis
NotSslRecordException: not an SSL/TLS record

I'm using Redis Spring Data (1.8.9.RELEASE) with Lettuce (4.5.0.Final) as underlying Redis driver. It's using netty of version 4.1.29. We're using …

java spring-data netty spring-data-redis amazon-elasticache
RedisTemplate hashvalue serializer to use for nested object with multiple types

I'm trying to use Redis to store some cache data for my entity, which has different types of fields inside, …

json serialization redis spring-data-redis
How to implement transaction in Spring Data Redis in a clean way?

I am following RetwisJ tutorial available here. In this I don't think Redis transactions are implemented. For example, in the …

java spring redis spring-data-redis
Spring Data Redis: Setting a Password

I have a need to provide a secure connection to Redis from my microservices. So if I want to add …

spring-data spring-data-redis
How to config redis-cluster when use spring-data-redis 1.7.0.M1

I use spring-data-redis version 1.7.0.M1,and jedis version 2.8.0 Here is my configuration <bean id="redisTemplate" class="org.springframework.data.…

redis spring-data-redis redis-cluster
Spring-data-redis @Cacheable java.lang.ClassCastException: java.util.HashMap cannot be cast to java.lang.String

I want to use spring-data-redis to caching data in my spring boot app.But it always says cast exception.I …

serialization spring-boot spring-data-redis