You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
같은 스케줄 생성 이벤트에 대해서 correlationId가 랜덤한 UUID 이므로 멱등성 보장이 어려움
🛠️ 해결 방법
네트워크 오류로 인해 발행은 성공했지만 응답만 못 받은 경우 등의 상황에서 멱등성을 유지 하기 위해
Events.publish 호출 시 넘기는 correlationId를
기존 UUID.randomUUID().toString() -> schedule.getId() + scheduleCreated(topic) 로 변경
📌 버그 설명
🔍 원인 분석
🛠️ 해결 방법
Events.publish 호출 시 넘기는 correlationId를
기존 UUID.randomUUID().toString() -> schedule.getId() + scheduleCreated(topic) 로 변경
🧪 검증
📌 참고 사항