fix - 调整监听配置
This commit is contained in:
parent
60e7af03df
commit
26bd236bb1
@ -25,7 +25,7 @@ public class SelfBoradcastRocketConfiguration {
|
|||||||
@Component
|
@Component
|
||||||
@ConditionalOnProperty(name = "rocketmq.name-server")
|
@ConditionalOnProperty(name = "rocketmq.name-server")
|
||||||
@RocketMQMessageListener(topic = DEFAULT_EVENT + "${spring.profiles.active}",
|
@RocketMQMessageListener(topic = DEFAULT_EVENT + "${spring.profiles.active}",
|
||||||
consumerGroup = "GID_${spring.application.name}_workflow_engine_consumer",
|
consumerGroup = "GID_${spring.application.name}_workflow_engine_${spring.profiles.active}_consumer",
|
||||||
consumeMode = ConsumeMode.ORDERLY,
|
consumeMode = ConsumeMode.ORDERLY,
|
||||||
maxReconsumeTimes = 3,
|
maxReconsumeTimes = 3,
|
||||||
nameServer = "${rocketmq.name-server}"
|
nameServer = "${rocketmq.name-server}"
|
||||||
|
|||||||
@ -28,7 +28,7 @@ import java.util.HashMap;
|
|||||||
* @since 2024-10-25 13:39
|
* @since 2024-10-25 13:39
|
||||||
*/
|
*/
|
||||||
@Slf4j
|
@Slf4j
|
||||||
//@Configuration(proxyBeanMethods = false)
|
@Configuration(proxyBeanMethods = false)
|
||||||
public class DingtalkRocketConfiguration {
|
public class DingtalkRocketConfiguration {
|
||||||
@Value("${spring.profiles.active:dev}")
|
@Value("${spring.profiles.active:dev}")
|
||||||
private String activeProfile;
|
private String activeProfile;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user