[feat] SlackMessage DB저장 및 Kafka+Outbox 패턴 도입#141
Merged
S2hyeyunS2 merged 11 commits intodevfrom Feb 11, 2026
Merged
Conversation
Removed unused transaction annotations from SlackDomainEventHandler.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
📍 PR 타입 (하나 이상 선택)
❗️ 관련 이슈 링크
Close #135
📌 개요
🔁 변경 사항
1) Outbox 패턴 적용
SlackOutbox엔티티/리포지토리 추가SlackDomainEventHandler로직 변경BEFORE_COMMIT)에 Slack 전송 요청을 SlackOutbox 테이블에 저장하도록 수정2) Kafka 연동 및 장애 대응 설정
KafkaConfig추가 (Producer/Consumer 설정)ExponentialBackOff적용 (최대 10초, 2배씩 증가).DLQ토픽으로 보내도록DeadLetterPublishingRecoverer설정3) Outbox Relay(Scheduler) 구현
SlackOutboxScheduler구현published상태 업데이트하여 데이터 유실 방지4) Kafka Consumer 구현
SlackMessageConsumer구현SlackMessage상태 업데이트📸 스크린샷
제목
스크린샷👀 기타 더 이야기해볼 점
✅ 체크 리스트