Case study · personal project
AWS Streaming Data Platform
Kafka to S3/Iceberg lakehouse with layered zones, Glue PySpark jobs, and a Kimball model in Athena and dbt
- data layers
- 4
- reporting model
- Kimball
- table format
- Iceberg
The problem
Streaming events need to land reliably, get cleaned and deduplicated, and end up in a model analysts can actually query, without bad records silently breaking reports.
The approach
A Kafka-to-S3/Iceberg pipeline across landing, raw, processed, and reporting layers. Glue PySpark jobs validate records, drop duplicates, and load increments, with Airflow checks, error quarantine, and Terraform for the infrastructure.
Architecture
Select a component, or play the flow.
Step 1 of 7
Kafka
Streaming events arrive on Kafka.
Engineering decisions
Layered zones
Landing, raw, processed, and reporting layers keep the original data replayable and each transformation inspectable.
Quarantine, don't crash
Bad records are set aside with their errors so one bad batch doesn't block the pipeline.
Infrastructure as code
Terraform makes the whole platform reproducible.
Limitations, stated plainly
- No public repository yet. No throughput or cost numbers are claimed.
More case studies
PipelineMedic AI
Pipeline repair agent: deterministic detectors find the failure, an LLM proposes the fix, a human approves the risky ones
RAG Sentinel
LLM evaluation framework: a validated LLM judge, prompt A/B tests, and a hallucination-risk classifier with drift monitoring
RetailBench Data Platform
PySpark on EMR over 100+ GB of TPC-H data into a dimensional Redshift warehouse, tuned 44% faster