flowchart TB
N1["Intelligent Textbook"]:::same
N2["Uvicorn
ASGI server — accepts the HTTP connection"]:::same
N3["FastAPI
routes the request, runs structural validation"]:::same
N4["Redpanda (dev) / Apache Kafka (prod)
durable partitioned queue — identical interface"]:::envsplit
N5["Confluent-Kafka Library
Python client used by Stream Processors"]:::same
N6["Stream Processor
Ch. 9: pseudonymize / resolve / map"]:::same
N1 --> N2 --> N3 --> N4 --> N5 --> N6
classDef same fill:#2a9d8f,stroke:#1f7a6f,color:#fff,font-size:14px
classDef envsplit fill:#e9a23b,stroke:#b8791f,color:#222,font-size:14px
linkStyle default stroke:#999,stroke-width:2px