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

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

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

Loading…
Cancel
Save