Authored by hugufei

search-redis使用集群的配置方式

... ... @@ -8,14 +8,18 @@ pool:
redis:
yohoSearchRedis:
cluster: false
cluster: true
sync: false
auth:
timeout: 1000
servers:
- 192.168.102.216:6379
- 192.168.103.35:6379
- 192.168.103.35:6379
- 192.168.103.35:6379
readOnly:
- 192.168.102.216:6379
- 192.168.103.35:6379
- 192.168.103.35:6379
- 192.168.103.35:6379
primary: no
yohoSearchBigDataRedis:
... ...
... ... @@ -8,21 +8,25 @@ pool:
redis:
yohoSearchRedis:
cluster: false
cluster: true
sync: false
auth:
timeout: 100
timeout: 1000
servers:
- ${redis.search.proxy.address}:${redis.search.proxy.port}
- ${redis.search.cluster.address0}
- ${redis.search.cluster.address1}
- ${redis.search.cluster.address2}
readOnly:
- ${redis.search.proxy.address}:${redis.search.proxy.port}
- ${redis.search.cluster.address0}
- ${redis.search.cluster.address1}
- ${redis.search.cluster.address2}
primary: no
yohoSearchBigDataRedis:
cluster: false
sync: false
auth: ${bigDataRedis-search.proxy.auth}
timeout: 100
timeout: 1000
servers:
- ${bigDataRedis-search.proxy.address}:${bigDataRedis-search.proxy.port}
readOnly:
... ...