mirror of
https://github.com/ktds-dg0501/kt-event-marketing.git
synced 2026-06-13 04:19:14 +00:00
Event-AI Kafka 통신 개선 및 타입 헤더 불일치 문제 해결
주요 변경사항: - event-service KafkaConfig: JsonSerializer로 변경, 타입 헤더 비활성화 - ai-service application.yml: 타입 헤더 사용 안 함, 기본 타입 지정 - AIEventGenerationJobMessage: region, targetAudience, budget 필드 추가 - AiRecommendationRequest: region, targetAudience, budget 필드 추가 - AIJobKafkaProducer: 객체 직접 전송으로 변경 (이중 직렬화 문제 해결) - AIJobKafkaConsumer: 양방향 통신 이슈로 비활성화 (.bak) - EventService: Kafka producer 호출 시 새 필드 전달 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -28,6 +28,8 @@ spring:
|
||||
value-deserializer: org.springframework.kafka.support.serializer.JsonDeserializer
|
||||
properties:
|
||||
spring.json.trusted.packages: "*"
|
||||
spring.json.use.type.headers: false
|
||||
spring.json.value.default.type: com.kt.ai.kafka.message.AIJobMessage
|
||||
max.poll.records: 10
|
||||
session.timeout.ms: 30000
|
||||
listener:
|
||||
|
||||
Reference in New Issue
Block a user