Open americanomin opened 2 years ago
flowchart TB subgraph shorten-url-admin shorten-url-생성 shorten-url-referer-url-조회 shorten-url-click-통계-조회 end subgraph shorten-url-api shorten-url-생성-->shorten-url-클릭 shorten-url-클릭-->kafka-click-event-발행 end subgraph shorten-url-consumer kafka-click-event-발행-->kafka-click-event-구독 kafka-click-event-구독-->click-log-mongo-db-집계 kafka-click-event-구독-->click-action-통계-집계 end
flowchart TD A[shorten-url-클릭] --> G{url이-활성화되었는가} G -->|NO| E[404-notfound] G{url이-활성화되었는가} --> |YES| B{ttl이-만료되었는가} B -->|Yes| D[404-notfound] B{ttl이-만료되었는가?} --> |NO| C{호출빈도-제한에-걸렸는가} C -->|Yes| D[404-notfound] C -->|NO| E[origin-url-redirect]
모듈 구성도
클릭 행동 플로우차트