mirror of
https://github.com/ktds-dg0501/kt-event-marketing.git
synced 2025-12-06 11:26:26 +00:00
ãdelete WinnerSelected
This commit is contained in:
parent
a275531eef
commit
0daf043504
@ -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
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user