f-lab-edu / f-lab-edu/spring-reservation-core
IdempotencyService 구현
Open
@xxx-sj is already working on this.
Since Dec 6, 2025.
area:idempotency
step:1-core
- Dominant language
- Java
- Stars
- 0
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
IdempotencyService – executeWithIdempotency 구현
📌 Summary
Idempotency-Key로 비즈니스 로직을 한 번만 실행하도록 관리하는 서비스를 구현한다.
🧩 Tasks
-
executeWithIdempotency(key, callback)형태 메서드 작성 - 기존 COMPLETED 키 → 저장된 응답 반환
- 없는 키 → PENDING 생성 후 비즈니스 로직 실행, COMPLETED 저장
- 동시 요청 처리 전략 검토
🔍 Notes
- responseBody는 String(JSON)로 저장
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.