iac/docs/apps/subscriptions.md

774 B

subscriptions

Подписки и доставка уведомлений. Namespace: subscriptions.

flowchart LR
    PG[(PostgreSQL)]:::data
    Redis[(Redis)]:::data
    Kafka[[Kafka]]:::msg
    MsgHub[message-hub]:::peer

    subgraph NS["ns: subscriptions"]
        Backend[deployment: backend<br/>Service]:::comp
    end

    MsgHub -->|deliver| Backend
    Kafka -->|consume notify.*| Backend
    Backend <-->|pub/sub| Redis
    Backend --> PG

    classDef comp fill:#ec4899,stroke:#9d174d,stroke-width:2px,color:#fff
    classDef peer fill:#fce7f3,stroke:#9d174d,color:#000
    classDef data fill:#10b981,stroke:#065f46,color:#fff
    classDef msg fill:#ef4444,stroke:#991b1b,color:#fff
    style NS fill:#fdf2f8,stroke:#ec4899,stroke-width:2px