ãdelete…WinnerSelected

This commit is contained in:
doyeon 2025-10-22 15:39:49 +09:00
parent a275531eef
commit 0daf043504

View File

@ -11,7 +11,6 @@ participant "LotteryAlgorithm" as Lottery
participant "ParticipantRepository" as Repo participant "ParticipantRepository" as Repo
participant "DrawLogRepository" as LogRepo participant "DrawLogRepository" as LogRepo
database "Participation DB" as DB database "Participation DB" as DB
participant "KafkaProducer" as Kafka
== UFR-PART-030: 당첨자 추첨 == == UFR-PART-030: 당첨자 추첨 ==
@ -147,25 +146,6 @@ else JWT 검증 성공
Service -> Service: DB 트랜잭션 커밋 Service -> Service: DB 트랜잭션 커밋
Service -> Kafka: Publish Event\n"WinnerSelected"\nTopic: participant-events
activate Kafka
note right of Kafka
Event Payload:
{
"eventId": "UUID",
"winners": [
{
"participantId": "UUID",
"name": "홍길동",
"phone": "010-1234-5678"
}
],
"timestamp": "2025-10-22T15:00:00Z"
}
end note
Kafka --> Service: 이벤트 발행 완료
deactivate Kafka
Service --> Controller: DrawWinnersResponse\n{당첨자목록, 추첨로그ID} Service --> Controller: DrawWinnersResponse\n{당첨자목록, 추첨로그ID}
deactivate Service deactivate Service