jvnlee / catch-dining

맛집 검색 및 예약 서비스
0 stars 0 forks source link

refactor/#34 notification failure handling #35

Closed jvnlee closed 4 months ago

jvnlee commented 4 months ago

구현 내용

예외 발생으로 인해 FCM 알림 발송 요청에 실패하는 경우, 요청을 재시도하는 로직 추가

Spring Retry 라이브러리 사용

Spring Retry에 대해 정리한 글

 

FirebaseMessagingService

 

해결하지 못한 부분

지정된 횟수의 재시도를 하고나서도 실패한다면 더 이상의 처리가 불가능함

 

etc

해당 브랜치의 작업은 "재시도 기능 추가"이기 때문에 이에 맞게 feature 태그로 변경했으나, refactor로 되어있는 기존 브랜치 이름은 이미 PR이 올라와있어 정상적으로 변경이 불가능했음.