merge: (#962) Outbox 패턴 단일 처리 지점으로 리팩토링#965
Merged
ryujaemin08 merged 2 commits intodevelopfrom Jan 19, 2026
Merged
Conversation
f00329b to
2599c2b
Compare
📊 Main Service Coverage Report
|
📊 Notification Service Coverage Report
|
📊 Gateway Service Coverage Report
|
pji-min
approved these changes
Jan 19, 2026
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.
작업 내용 설명
주요 변경 사항
NotificationEventHandler: AFTER_COMMIT 즉시 발송 로직 제거, BEFORE_COMMIT 저장만 수행DeviceTokenEventHandler: 동일하게 수정OutboxPort: findById, deleteById 메서드 제거OutboxPersistenceAdapter: 해당 메서드 구현 제거결과물
Race Condition 방지를 위해 단일 처리 지점(OutboxJob)으로 구조 단순화
기존 구조에서는 EventHandler와 OutboxJob 두 곳에서 메시지 발송을 시도하여 중복 발송 가능성이 있었습니다.
Debezium 등 대부분의 Outbox 패턴 구현에서 권장하는 단일 처리 지점 방식으로 변경했습니다.
체크리스트
관련 이슈