SpringBoot集成哨兵模式
时间:2020-07-05 13:42:48
收藏:0
阅读:117
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
评论(0)