add kafka listener

This commit is contained in:
2026-06-04 17:58:54 +07:00
parent 8139c1c2df
commit d6504e4b5d
10 changed files with 209 additions and 2 deletions
+11 -1
View File
@@ -1,11 +1,12 @@
plugins {
id 'java'
id 'org.springframework.boot' version '4.0.6'
id 'org.springframework.boot' version '3.5.6'
id 'io.spring.dependency-management' version '1.1.7'
}
group = 'ru.no-copy'
version = '0.0.1-SNAPSHOT'
description = 'monitoring'
java {
toolchain {
@@ -13,16 +14,25 @@ java {
}
}
configurations {
compileOnly {
extendsFrom annotationProcessor
}
}
repositories {
mavenCentral()
}
dependencies {
implementation 'org.springframework.boot:spring-boot-starter-actuator'
implementation 'org.springframework.boot:spring-boot-starter'
implementation 'org.springframework.kafka:spring-kafka'
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
implementation 'org.springframework.boot:spring-boot-starter-security'
implementation 'org.springframework.boot:spring-boot-starter-thymeleaf'
implementation 'org.springframework.boot:spring-boot-starter-validation'
annotationProcessor 'org.projectlombok:lombok'
implementation 'org.thymeleaf.extras:thymeleaf-extras-springsecurity6'
developmentOnly 'org.springframework.boot:spring-boot-devtools'
runtimeOnly 'org.postgresql:postgresql'