From 38521412a6f90f4a1198d49e68e4d72e81116d1a Mon Sep 17 00:00:00 2001
From: lijiayao <13831655+xiao-yao-charge-forward@user.noreply.gitee.com>
Date: Tue, 9 Apr 2024 11:51:54 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9bug?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../couplet-analyze-msg/pom.xml | 18 ------------------
.../analyze/msg/model/ModelsKafkaMessage.java | 2 +-
pom.xml | 14 ++++++++++++++
3 files changed, 15 insertions(+), 19 deletions(-)
diff --git a/couplet-modules/couplet-analyze/couplet-analyze-msg/pom.xml b/couplet-modules/couplet-analyze/couplet-analyze-msg/pom.xml
index be2c65b..16ac173 100644
--- a/couplet-modules/couplet-analyze/couplet-analyze-msg/pom.xml
+++ b/couplet-modules/couplet-analyze/couplet-analyze-msg/pom.xml
@@ -80,25 +80,12 @@
com.couplet
couplet-common-swagger
-
-
-
-
-
-
-
com.couplet
couplet-common-event
-
-
- org.springframework.kafka
- spring-kafka
- -->
-
org.apache.kafka
@@ -111,11 +98,6 @@
couplet-common-business
-
-
-
-
-
diff --git a/couplet-modules/couplet-analyze/couplet-analyze-msg/src/main/java/com/couplet/analyze/msg/model/ModelsKafkaMessage.java b/couplet-modules/couplet-analyze/couplet-analyze-msg/src/main/java/com/couplet/analyze/msg/model/ModelsKafkaMessage.java
index 4c82aa5..69b9d6d 100644
--- a/couplet-modules/couplet-analyze/couplet-analyze-msg/src/main/java/com/couplet/analyze/msg/model/ModelsKafkaMessage.java
+++ b/couplet-modules/couplet-analyze/couplet-analyze-msg/src/main/java/com/couplet/analyze/msg/model/ModelsKafkaMessage.java
@@ -11,7 +11,7 @@ import org.apache.kafka.clients.consumer.ConsumerConfig;
import org.apache.kafka.clients.consumer.ConsumerRecords;
import org.apache.kafka.clients.consumer.KafkaConsumer;
import org.springframework.beans.factory.annotation.Autowired;
-import org.springframework.kafka.annotation.KafkaListener;
+
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;
diff --git a/pom.xml b/pom.xml
index 139c8c9..48aa0c2 100644
--- a/pom.xml
+++ b/pom.xml
@@ -34,6 +34,8 @@
0.9.1
8.2.2
4.1.2
+ 2.8.0
+ 3.0.8
2.14.3
@@ -242,7 +244,19 @@
couplet-common-event
${couplet.version}
+
+
+ org.apache.kafka
+ kafka-clients
+ ${Kafka.version}
+
+
+ org.apache.dubbo
+ dubbo
+ ${dubbo.version}
+ compile
+