feat: 회원가입 이메일 전송 비동기 구현 및 가지 않은 메일 처리해주는 스케줄러 생성 #9
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.
📄 Summary
이를 도메인 로직으로 리팩토링 진행합니다.
메일 발송
회원가입 시에 가입 축하 메일을 전송합니다. 추후에 메일에는 쿠폰 정보도 함께 발급해줍니다.
공통적으로 사용하는 이벤트 설정을 진행
회원가입과 메일 발송 (외부 라이브러리)의 트랜잭션 분리하기
만약 회원가입이 완료되었는데, 메일 발송이 지연되는 경우 어떻게 처리?
메일 발송이 안 되었을 때 어떻게 재전송 처리할지?
🙋🏻 More
https://blog.naver.com/sosow0212/223322476947
close #8