File tree Expand file tree Collapse file tree 3 files changed +13
-1
lines changed
java/cmf/commitField/global/websocket Expand file tree Collapse file tree 3 files changed +13
-1
lines changed Original file line number Diff line number Diff line change @@ -74,6 +74,17 @@ dependencies {
7474 implementation (" org.springframework.security:spring-security-oauth2-client:6.4.2" ) // Or the version you're using
7575 implementation (" org.springframework.security:spring-security-oauth2-core:6.4.2" ) // Or the version you're using
7676
77+ // Spring Kafka
78+ implementation(" org.springframework.kafka:spring-kafka" )
79+
80+ // Kafka 클라이언트 (Redpanda와 호환)
81+ implementation(" org.apache.kafka:kafka-clients:3.6.0" )
82+
83+ // JSON 직렬화/역직렬화 (Kafka 메시지 처리)
84+ implementation(" com.fasterxml.jackson.core:jackson-databind" )
85+
86+ // 테스트용 Kafka 임베디드 서버 (선택 사항)
87+ testImplementation(" org.springframework.kafka:spring-kafka-test" )
7788}
7889
7990tasks.withType<Test > {
Original file line number Diff line number Diff line change 11package cmf .commitField .global .websocket ;
22
3+ import lombok .RequiredArgsConstructor ;
34import org .springframework .context .annotation .Configuration ;
45import org .springframework .messaging .simp .config .MessageBrokerRegistry ;
56import org .springframework .web .socket .config .annotation .EnableWebSocketMessageBroker ;
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ spring:
1818 jpa :
1919 open-in-view : false
2020 hibernate :
21- ddl-auto : update
21+ ddl-auto : create
2222 properties :
2323 hibernate :
2424 default_batch_fetch_size : 100
You can’t perform that action at this time.
0 commit comments