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.

spring data redis master slave config

Following is my jedis config @Bean public JedisConnectionFactory getJedisConnectionFactory() { JedisConnectionFactory jedisConnectionFactory = new JedisConnectionFactory(); jedisConnectionFactory.setUsePool(true); return jedisConnectionFactory; } @Bean public …

java spring redis jedis spring-data-redis
NoSuchMethodError exception with spring-data-redis

Started getting the following exception, after upgrading release train to Kay-RELEASE of spring data. Caused by: java.lang.NoSuchMethodError: org.…

spring spring-data spring-data-redis
Are there any ways to check whether a key exists with RedisTemplate?

Are there any ways to check whether a key exists with RedisTemplate? or in other words, are there any equivalent …

java redis spring-data-redis
Spring Data Redis NoSuchBeanDefinitionException: No qualifying bean of type

When I try to inject repository that implements CrudRepository from Spring Data Redis, I get NoSuchBeanDefinitionException. Caused by: org.springframework.…

java spring spring-data-redis
Disable Redis AutoConfig in spring boot when testing

I am trying to disable Redis when I am testing with spring boot. I have disabled my configuration but the …

java spring spring-boot redis spring-data-redis
spring-data-redis 1.7.2 Injection redisTemplate failed

When I use Spring Data Redis to inject redisTemplate, the following error occurs: Caused by: org.springframework.beans.factory.BeanCreationException: …

java spring redis jedis spring-data-redis
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 …

spring-boot spring-data-redis