分布式架构学习之:032--使用Redis3.0集群实现Tomcat集群的Session共享

来源:互联网 发布:淘宝差评会6个月消失吗 编辑:程序博客网 时间:2024/06/04 19:15








redis.properties


# redis hosts ex: 127.0.0.1:6379, 127.0.0.2:6379, 127.0.0.2:6380, ....
redis.hosts=192.168.1.111:7111,192.168.1.112:7112,192.168.1.113:7113,192.168.1.114:7114,192.168.1.115:7115,192.168.1.116:7116
# Redis Password
redis.password=
# set true to enable redis cluster mode
redis.cluster.enabled=true





原创粉丝点击