增加了redis和kafka

This commit is contained in:
bamanker
2025-12-18 14:16:15 +08:00
parent fb1c1fb699
commit 400fe94a50
23 changed files with 861 additions and 16 deletions

27
pom.xml
View File

@@ -63,6 +63,16 @@
<artifactId>h2</artifactId>
<scope>runtime</scope>
</dependency>
<!-- Spring Boot Data Redis Starter: 包含Spring Data Redis、Lettuce等 -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-data-redis</artifactId>
</dependency>
<!-- Spring Boot Cache Starter: Spring Cache抽象支持 -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-cache</artifactId>
</dependency>
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
@@ -83,7 +93,14 @@
<artifactId>commons-lang3</artifactId>
<version>3.19.0</version>
</dependency>
<!-- Spring Kafka: Kafka集成支持 -->
<!-- Kafka Streams: 流处理支持(可选) -->
<!-- <dependency>-->
<!-- <groupId>org.apache.kafka</groupId>-->
<!-- <artifactId>kafka-streams</artifactId>-->
<!-- </dependency>-->
<!-- Spring Kafka Test: 嵌入式Kafka测试支持 -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-configuration-processor</artifactId>
@@ -94,7 +111,6 @@
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-validation</artifactId>
</dependency>
<dependency>
<groupId>com.dtflys.forest</groupId>
<artifactId>forest-spring-boot3-starter</artifactId>
@@ -109,6 +125,15 @@
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-actuator</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-kafka</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.kafka</groupId>
<artifactId>spring-kafka-test</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
<build>