1,哨兵
spring.redis.sentinel.master=mymaster
spring.redis.sentinel.nodes=192.168.17.4:26379
2,集群
spring.redis.cluster.nodes=192.168.17.4:7001,192.168.17.4:7002,192.168.17.4:8001,192.168.17.4:8002,192.168.17.4:9001,192.168.17.4:9002
1,哨兵
spring.redis.sentinel.master=mymaster
spring.redis.sentinel.nodes=192.168.17.4:26379
2,集群
spring.redis.cluster.nodes=192.168.17.4:7001,192.168.17.4:7002,192.168.17.4:8001,192.168.17.4:8002,192.168.17.4:9001,192.168.17.4:9002