问题描述:直接通过redis-cli能连上哨兵,但是在Java应用中显示连接哨兵失败

redis.clients.jedis.exceptions.JedisConnectionException: All sentinels down, cannot determine where is redis-master master is running…

解决方法:由于sentinel设置密码,实际上是由于Java连接sentinel失败了,把sentinel的密码校验去掉解决

GitHub 加速计划 / sentine / Sentinel
38
7
下载
alibaba/Sentinel: Sentinel 是阿里巴巴开源的一款面向分布式服务架构的流量控制、熔断降级组件,提供实时监控、限流、降级和系统保护功能,适用于微服务治理场景。
最近提交(Master分支:1 个月前 )
eb3a9b09 * chore: update release configuration * Bump version to 1.8.9 13 天前
7e17ae7c 29 天前
Logo

新一代开源开发者平台 GitCode,通过集成代码托管服务、代码仓库以及可信赖的开源组件库,让开发者可以在云端进行代码托管和开发。旨在为数千万中国开发者提供一个无缝且高效的云端环境,以支持学习、使用和贡献开源项目。

更多推荐