springboot 3.2 can not work
What's not working?
A clear and concise description of what the bug is.
My code is the same as the example code
What're application dependencies ?
- Rqueue Version: 3.1.0-RELEASE
- Spring Boot Version: 3.2.1
- Spring Messaging Version
- Spring Data Redis Version
- Any other spring library dependencies and their version
How to Reproduce (optional)?
- Steps to reproduce the behaviour
- A sample reproducible code if possible.
Additional Details (optional)
Add any other context about the problem that would be helpful like OS, Redis, Docker etc
@chj9 could you please share a sample code to reproduce? I'm little busy but I'll get this sorted by next week
Also, it seems code is working fine as we can observe other error in https://github.com/sonus21/rqueue/issues/218
same like me, when use redisson
the issue of coexistence between spring-boot-redisson and spring-data-redis needs to be resolved.
- instead of using the automatic configuration provided by redisson-spring-boot-starter, register the RedissonClient manually.
- Utilize the automatic configuration provided by the redisson-spring-boot-starter.
@Configuration
@AutoConfigureAfter(RedisAutoConfiguration.class)
public class RedisConfig {
@Bean
public RedisTemplate<String, Object> redisTemplate(RedisConnectionFactory connectionFactory) {
//connectionFactory: redission
RedisTemplate<String, Object> redisTemplate = new RedisTemplate<>();
redisTemplate.setConnectionFactory(connectionFactory);
redisTemplate.setDefaultSerializer(new GenericJackson2JsonRedisSerializer());
StringRedisSerializer stringRedisSerializer = new StringRedisSerializer();
redisTemplate.setKeySerializer(stringRedisSerializer);
redisTemplate.setHashKeySerializer(stringRedisSerializer);
return redisTemplate;
}
}
@Umenezumi do you have sample app that fails to boot with Redisson?