edit distribution-다중채널배포.puml
This commit is contained in:
parent
edb7045008
commit
146063b22b
@ -9,7 +9,6 @@ participant "Distribution\nController" as Controller
|
|||||||
participant "Distribution\nService" as Service
|
participant "Distribution\nService" as Service
|
||||||
database "Distribution DB" as DB
|
database "Distribution DB" as DB
|
||||||
queue "Kafka" as Kafka
|
queue "Kafka" as Kafka
|
||||||
participant "Redis Cache" as Cache
|
|
||||||
|
|
||||||
== REST API 동기 호출 수신 ==
|
== REST API 동기 호출 수신 ==
|
||||||
EventSvc -> API: POST /api/distribution/distribute\n{eventId, channels[], contentUrls}
|
EventSvc -> API: POST /api/distribution/distribute\n{eventId, channels[], contentUrls}
|
||||||
@ -124,8 +123,6 @@ Service -> DB: 배포 이력 상태 업데이트\n(상태를 COMPLETED로,\n완
|
|||||||
Service -> Kafka: Publish to event-topic\nDistributionCompleted\n{eventId, channels[], results[], completedAt}
|
Service -> Kafka: Publish to event-topic\nDistributionCompleted\n{eventId, channels[], results[], completedAt}
|
||||||
note over Kafka: Analytics Service 구독\n실시간 통계 업데이트
|
note over Kafka: Analytics Service 구독\n실시간 통계 업데이트
|
||||||
|
|
||||||
Service -> Cache: 배포 상태 캐싱\nkey: distribution:{eventId}\nvalue: {status: COMPLETED, results[]}\nTTL: 1시간
|
|
||||||
|
|
||||||
== REST API 동기 응답 ==
|
== REST API 동기 응답 ==
|
||||||
Service --> Controller: 배포 완료 응답\n{status: COMPLETED, successChannels: [all]}
|
Service --> Controller: 배포 완료 응답\n{status: COMPLETED, successChannels: [all]}
|
||||||
deactivate Service
|
deactivate Service
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user