fix - 调整监听配置

This commit is contained in:
wangli 2024-11-08 10:04:15 +08:00
parent 26bd236bb1
commit 6d4b857e10

View File

@ -61,7 +61,7 @@ public class DingtalkRocketConfiguration {
@Component
@ConditionalOnProperty(name = "rocketmq.name-server")
@RocketMQMessageListener(topic = "topic_third_party_sync_event_${spring.profiles.active}",
consumerGroup = "GID_${spring.application.name}_riven_consumer",
consumerGroup = "GID_${spring.application.name}_riven_${spring.profiles.active}_consumer",
consumeMode = ConsumeMode.CONCURRENTLY,
selectorType = SelectorType.TAG,
selectorExpression = "riven-dingtalk-receive",