redis
走向自由
追随自己内心的声音,走向自由。
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
[工具类] 系列二 Lettuce 访问Redis 工具类 RedisUtil
最近公司Redis集群启用了ssl和密码校验,使用Jedis访问Redis Cluster的时候,支持不太好。看到spring-data-redis 2.x开始使用Lettuce访问Redis,于是开始吃个螃蟹。Lettuce介绍https://lettuce.io/docs/getting-started.htmlhttps://lettuce.io/core/release/reference/https://www.cnblogs.com/throwable/p/11601538.原创 2020-05-11 17:32:14 · 3901 阅读 · 1 评论 -
Lettuce: Connection to x.x.x.x not allowed. This connection point is not known in the cluster view
最近使用Lettuce连接启用ssl的Redis cluster,碰到异常如下:com.lambdaworks.redis.RedisException: java.lang.IllegalArgumentException: Connection to *.*.*.*:7001 not allowed. This connection point is not known in the cluster view at com.lambdaworks.redis.cluster.Pooled...原创 2020-05-11 16:47:08 · 3882 阅读 · 0 评论 -
Jedis 学习笔记
最近使用jedis的时候碰到一些问题,记录下。Jedis的官方地址: https://github.com/xetorthio/jedis 问题1: Jedis提供了很多pool(JedisPool, JedisSentinelPool,ShardedJedisPool,JedisCluster),它们分别什么时候用?Jedis/JedisPool针对单个redis服务器,进行...原创 2018-08-29 16:24:06 · 324 阅读 · 0 评论
分享