update 优化 增加dubbo元数据中心 redis集群配置示例

2.X
疯狂的狮子Li 4 months ago
parent f3526100a8
commit 992647fd14

@ -24,10 +24,14 @@ dubbo:
group: DUBBO_GROUP
username: dubbo
password: ${spring.data.redis.password}
# 集群开关
cluster: false
parameters:
namespace: ${spring.profiles.active}
database: ${spring.data.redis.database}
timeout: ${spring.data.redis.timeout}
# 集群地址 cluster 为 true 生效
backup: 127.0.0.1:6379,127.0.0.1:6381
# 消费者相关配置
consumer:
# 结果缓存(LRU算法)

Loading…
Cancel
Save