Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

스탬프 생성 이벤트 유실 방지를 위한 Transactional outbox pattern 적용 #963

Closed
wants to merge 34 commits into from

Conversation

youngh0
Copy link
Collaborator

@youngh0 youngh0 commented Apr 28, 2024

주요 변경사항

  • 스탬프 적립 시 발생하는 event 를 저장하는 outbox repository 생성
  • 스탬프 적립 이후 방문 기록 저장 성공 시 해당 outbox 엔티티의 state 를 true 로 변경
  • 10초 주기의 스케줄러에서 fail 인 outbox 엔티티 조회 후 이벤트 재발행
  • 이를 통해, 스탬프 적립과 방문기록의 데이터 정합성을 결과적으로 보장

youngh0 and others added 30 commits October 5, 2023 18:05
feat: 고객모드 필터링 기본값 '전체'로 변경 및 내 정보 변경 페이지 추가
feat: Develop의 내용을 main에 머지한다.
[ALL] fix: 프론트엔드 버그를 수정한다.
* fix: 12월이 0월로 표기되는 오류 해결

* test: 모킹을 통한 테스트 완료
@youngh0 youngh0 closed this Apr 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

5 participants