24 lines
641 B
Markdown
24 lines
641 B
Markdown
# system-log
|
|
|
|
Аудит-журнал. Namespace: `system-log`.
|
|
|
|
```mermaid
|
|
flowchart LR
|
|
PG[(PostgreSQL)]:::data
|
|
Kafka[[Kafka]]:::msg
|
|
|
|
subgraph NS["ns: system-log"]
|
|
Backend[deployment: backend<br/>API]:::comp
|
|
Worker[deployment: worker<br/>kafka consumer]:::comp
|
|
Worker -->|insert| Backend
|
|
end
|
|
|
|
Kafka -->|consume audit.*| Worker
|
|
Backend --> PG
|
|
|
|
classDef comp fill:#ec4899,stroke:#9d174d,stroke-width:2px,color:#fff
|
|
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
|
|
```
|