SpringBoot集成Redis哨兵

SpringBoot集成Redis哨兵

配置

spring:
  redis:
    database: 1
    password: password
    sentinel:
      master: redis-master
      nodes: 192.168.1.190:26379,192.168.1.191:26379,192.168.1.192:26379

猜你喜欢

转载自blog.csdn.net/tolmanlau/article/details/105852200