infra 服务:集成 spring-cloud-starter-bus-rocketmq 组件

This commit is contained in:
YunaiV
2022-06-21 08:15:13 +08:00
parent 6dd514b84a
commit 9945b5fcd0
9 changed files with 83 additions and 20 deletions

View File

@@ -62,6 +62,15 @@ jasypt:
encryptor:
password: yuanma # 加解密的秘钥
--- #################### MQ 消息队列相关配置 ####################
spring:
cloud:
stream:
rocketmq:
# RocketMQ Binder 配置项,对应 RocketMQBinderConfigurationProperties 类
binder:
name-server: 127.0.0.1:9876 # RocketMQ Namesrv 地址
--- #################### 定时任务相关配置 ####################
--- #################### 服务保障相关配置 ####################

View File

@@ -72,6 +72,15 @@ jasypt:
encryptor:
password: yuanma # 加解密的秘钥
--- #################### MQ 消息队列相关配置 ####################
spring:
cloud:
stream:
rocketmq:
# RocketMQ Binder 配置项,对应 RocketMQBinderConfigurationProperties 类
binder:
name-server: 127.0.0.1:9876 # RocketMQ Namesrv 地址
--- #################### 定时任务相关配置 ####################
--- #################### 服务保障相关配置 ####################

View File

@@ -79,7 +79,7 @@ spring:
bus:
enabled: true # 是否开启,默认为 true
id: ${spring.application.name}:${server.port} # 编号Spring Cloud Alibaba 建议使用“应用:端口”的格式
destination: springCloudBus2 # 目标消息队列,默认为 springCloudBus
destination: springCloudBus # 目标消息队列,默认为 springCloudBus
--- #################### 芋道相关配置 ####################