springboot集成 redis 哨兵模式配置如下

spring:
  redis:
    #Redis 哨兵模式
    password: larry123456
    sentinel:
      master: larry-master
      nodes: 192.168.127.130:26379,192.168.127.128:26379,192.168.127.129:26379
    #Redis 单机模式
 #   host: 192.168.127.128
 #   port: 6379
 #   password: larry123456

  

相关文章:

  • 2021-06-20
  • 2021-07-10
  • 2021-08-21
  • 2022-02-07
  • 2021-06-21
  • 2022-12-23
  • 2021-05-10
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-09-24
  • 2021-12-21
  • 2021-05-01
  • 2021-12-16
相关资源
相似解决方案