WinnerController Swagger 문서화 추가 및 이벤트/참여자 예외 처리 개선

- WinnerController에 Swagger 어노테이션 추가 (Operation, Parameter, ParameterObject)
- 당첨자 목록 조회 API 기본 정렬 설정 (winnerRank ASC, size=20)
- ParticipationService에서 이벤트/참여자 구분 로직 개선
  - 이벤트 없음: EventNotFoundException 발생
  - 참여자 없음: ParticipantNotFoundException 발생
- EventCacheService 제거 (Redis 기반 검증에서 DB 기반 검증으로 변경)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
doyeon
2025-10-27 11:15:04 +09:00
parent 958184c9d1
commit 9039424c40
18 changed files with 1330 additions and 45 deletions
+4 -4
View File
@@ -3,9 +3,9 @@
## 설치 정보
### Kafka 브로커 정보
- **Host**: 4.230.50.63
- **Port**: 9092
- **Broker 주소**: 4.230.50.63:9092
- **Host**: 4.217.131.59
- **Port**: 9095
- **Broker 주소**: 4.217.131.59:9095
### Consumer Group ID 설정
| 서비스 | Consumer Group ID | 설명 |
@@ -32,7 +32,7 @@ spring:
### 환경 변수 설정
```bash
export KAFKA_BOOTSTRAP_SERVERS=4.230.50.63:9092
export KAFKA_BOOTSTRAP_SERVERS=20.249.182.13:9095,4.217.131.59:9095
export KAFKA_CONSUMER_GROUP_ID=ai # 또는 analytic
```