qiujiayu / AutoLoadCache

AutoLoadCache 是基于AOP+Annotation等技术实现的高效的缓存管理解决方案,实现缓存与业务逻辑的解耦,并增加异步刷新及“拿来主义机制”,以适应高并发环境下的使用。

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

不支持jedis3.2,升级一个版本呗

qy8502 opened this issue · comments

JedisClusterPipeline中引用的redis.clients.util.SafeEncoder在jedis3.2中挪地方了

拉个分支7.1.x用jedis3.2 ,7.0.x还用jedis2.9也行呀。现在想升级spring-data-redis:2.2.x升不了,它不支持jedis2.9。

spring boot 默认推荐使用lettuce,所以你可以先使用lettuce试试。

Factory method 'autoLoadCacheDistributedLock' threw exception; nested exception is java.lang.ClassCastException: org.springframework.data.redis.connection.lettuce.LettuceConnectionFactory cannot be cast to org.springframework.data.redis.connection.jedis.JedisConnectionFactory
使用lottuce会报这个错误,只能用Jedis,Jedis不支持3.X

#90 中解决