refactor(接口测试): 修改监听的注解

This commit is contained in:
wxg0103 2024-01-31 12:10:48 +08:00 committed by 刘瑞斌
parent 72f22a6dd2
commit 54d45031fc
2 changed files with 4 additions and 4 deletions

View File

@ -7,13 +7,13 @@ import io.metersphere.sdk.util.LogUtils;
import io.metersphere.sdk.util.WebSocketUtils;
import org.apache.commons.lang3.ObjectUtils;
import org.apache.kafka.clients.consumer.ConsumerRecord;
import org.springframework.context.annotation.Configuration;
import org.springframework.kafka.annotation.KafkaListener;
import org.springframework.stereotype.Component;
/**
* 后端调试消息监听器
*/
@Configuration
@Component
public class DebugListener {
public static final String DEBUG_CONSUME_ID = "MS-API-DEBUG-CONSUME";

View File

@ -14,10 +14,10 @@ import jakarta.annotation.Resource;
import org.apache.commons.lang3.ObjectUtils;
import org.apache.commons.lang3.StringUtils;
import org.apache.kafka.clients.consumer.ConsumerRecord;
import org.springframework.context.annotation.Configuration;
import org.springframework.kafka.annotation.KafkaListener;
import org.springframework.stereotype.Component;
@Configuration
@Component
public class MessageListener {
public static final String MESSAGE_CONSUME_ID = "MS-API-MESSAGE-CONSUME";
@Resource