|
|
@ -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算法)
|
|
|
|