opt: 任务发送消费者topic定义
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
--- #################### MQ 消息队列相关配置 ####################
|
||||
# rocketmq 配置项,对应 RocketMQProperties 配置类
|
||||
rocketmq:
|
||||
name-server: 192.168.81.193:9876
|
||||
producer:
|
||||
group: lms-producer-dev-group # 事务消息需要配置一样
|
||||
send-message-timeout: 3000
|
||||
consumer:
|
||||
lms-task-operate:
|
||||
group: lms-task-status-change-dev-group
|
||||
topic: lms-task-status-change-dev-topic
|
||||
@@ -13,6 +13,7 @@ spring:
|
||||
import:
|
||||
- optional:classpath:application-${spring.profiles.active}.yaml # 加载【本地】配置
|
||||
- optional:nacos:${spring.application.name}-${spring.profiles.active}.yaml # 加载【Nacos】的配置
|
||||
- optional:classpath:application-mq-${spring.profiles.active}.yaml # 加载 MQ 配置
|
||||
|
||||
# Servlet 配置
|
||||
servlet:
|
||||
|
||||
Reference in New Issue
Block a user