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