Capstone Project: End-to-End Batch & Streaming Lakehouse Platform
Build a capstone that combines batch + streaming into a governed lakehouse with quality and ops.
In plain words
Domain, users, grain, SLO, and threat model. Next, batch/CDC ingestion into transactional tables. Finally, checkpoints, backfill, observability, FinOps, and failure drills.
Think of it like…
The capstone is a miniature operating company: data enters through multiple docks, every package has provenance and a quality stamp, finance and analysts consume one model, and drills prove the recovery plan.
Where you’ve seen it
Commerce events stream CDC through Kafka/Flink into Iceberg bronze/silver, a daily batch reconciles inventory, dbt builds governed daily/customer models, Trino/BI serves Gold, OpenLineage/GX track evidence, and all partitions can be replayed from a checkpoint.
Words you’ll hear
- Capstone
- A portfolio-scale, production-shaped project that demonstrates architecture decisions and operability, not every possible tool.
- Batch+Stream
- Complementary finite historical loads and continuous event/state paths converging on one governed data contract.
- Lakehouse
- A transactional object-table platform with medallion layers, serving engines, and operational metadata.
- Operational boundary
- A portfolio capstone may stitch demos without one logical business grain, or it may prove the happy path only while duplicate events, late data, schema drift, ACL bypass, cost spikes, and rollback remain unexplained. Choose one domain and end-to-end SLO, include source checkpoint and replay, implement idempotent stream/batch merges, version contracts/models, expose lineage/quality/cost, and rehearse duplicate, late, outage, migration, and privacy scenarios.
Visual diagram
Theory & deep dive
Capstone: the working mechanism
A capstone governed lakehouse integrates batch and CDC/stream feeds, transactional bronze/silver/gold tables, quality contracts, catalogs/ACLs, orchestration, online/BI serving, observability, and tested recovery.
Domain, users, grain, SLO, and threat model. Batch/CDC ingestion into transactional tables, then contract, tests, ACL, catalog, and BI/online output; this exposes the state governed by Lakehouse.
Commerce events stream CDC through Kafka/Flink into Iceberg bronze/silver, a daily batch reconciles inventory, dbt builds governed daily/customer models, Trino/BI serves Gold, OpenLineage/GX track evidence, and all partitions can be replayed from a checkpoint.
Capstone Project: End-to-End Batch & Streaming Lakehouse Platform: failure mode and production response
A portfolio capstone may stitch demos without one logical business grain, or it may prove the happy path only while duplicate events, late data, schema drift, ACL bypass, cost spikes, and rollback remain unexplained.
Choose one domain and end-to-end SLO, include source checkpoint and replay, implement idempotent stream/batch merges, version contracts/models, expose lineage/quality/cost, and rehearse duplicate, late, outage, migration, and privacy scenarios. Track End-to-end freshness as "each source path to certified Gold target", and make Reconciliation visible to the dataset owner.
How it works, step by step
Step 1 of 41. Frame one product
Domain, users, grain, SLO, and threat model. A capstone governed lakehouse integrates batch and CDC/stream feeds, transactional bronze/silver/gold tables, quality contracts, catalogs/ACLs, orchestration, online/BI serving, observability, and tested recovery.
- End-to-end freshness
- each source path to certified Gold target
- Batch+Stream
- Complementary finite historical loads and continuous event/state paths converging on one governed data contract.
When to use it & trade-offs
What it is
A capstone governed lakehouse integrates batch and CDC/stream feeds, transactional bronze/silver/gold tables, quality contracts, catalogs/ACLs, orchestration, online/BI serving, observability, and tested recovery. Commerce events stream CDC through Kafka/Flink into Iceberg bronze/silver, a daily batch reconciles inventory, dbt builds governed daily/customer models, Trino/BI serves Gold, OpenLineage/GX track evidence, and all partitions can be replayed from a checkpoint.
Why it matters: A portfolio capstone may stitch demos without one logical business grain, or it may prove the happy path only while duplicate events, late data, schema drift, ACL bypass, cost spikes, and rollback remain unexplained. Choose one domain and end-to-end SLO, include source checkpoint and replay, implement idempotent stream/batch merges, version contracts/models, expose lineage/quality/cost, and rehearse duplicate, late, outage, migration, and privacy scenarios.
When to reach for it
- Build a capstone that combines batch + streaming into a governed lakehouse with quality and ops.
- Choose Capstone because it provides this capability: A portfolio-scale, production-shaped project that demonstrates architecture decisions and operability, not every possible tool.
- Keep evidence for End-to-end freshness at "each source path to certified Gold target" so the last production stage-Operate - checkpoints, backfill, observability, FinOps, and failure drills-remains testable.
When to avoid or be careful
- A portfolio capstone may stitch demos without one logical business grain, or it may prove the happy path only while duplicate events, late data, schema drift, ACL bypass, cost spikes, and rollback remain unexplained.
- Do not conflate Batch+Stream with Capstone. The second concept contributes different behavior: Complementary finite historical loads and continuous event/state paths converging on one governed data contract.
- Release only after this guardrail is in place: Choose one domain and end-to-end SLO, include source checkpoint and replay, implement idempotent stream/batch merges, version contracts/models, expose lineage/quality/cost, and rehearse duplicate, late, outage, migration, and privacy scenarios.
Capstone / Batch+Stream / Lakehouse - roles, limits, and operating cost
Strengths: A portfolio-scale, production-shaped project that demonstrates architecture decisions and operability, not every possible tool. A capstone governed lakehouse integrates batch and CDC/stream feeds, transactional bronze/silver/gold tables, quality contracts, catalogs/ACLs, orchestration, online/BI serving, observability, and tested recovery.
Watch out: A portfolio capstone may stitch demos without one logical business grain, or it may prove the happy path only while duplicate events, late data, schema drift, ACL bypass, cost spikes, and rollback remain unexplained.
Strengths: Complementary finite historical loads and continuous event/state paths converging on one governed data contract. In this workflow it supports: Govern/serve - contract, tests, ACL, catalog, and BI/online output.
Watch out: The operating cost is real: batch and stream business keys/totals converge.
Strengths: A transactional object-table platform with medallion layers, serving engines, and operational metadata. Its output can be checked with Recovery drill.
Watch out: Operating guardrail: Choose one domain and end-to-end SLO, include source checkpoint and replay, implement idempotent stream/batch merges, version contracts/models, expose lineage/quality/cost, and rehearse duplicate, late, outage, migration, and privacy scenarios.
Interview signals & numbers to know
When this topic comes up
- “Where is the failure boundary for Capstone, and how would End-to-end freshness reveal it?”
- “Why is Batch+Stream distinct from this behavior: a transactional object-table platform with medallion layers, serving engines, and operational metadata?”
- Production clue: A portfolio capstone may stitch demos without one logical business grain, or it may prove the happy path only while duplicate events, late data, schema drift, ACL bypass, cost spikes, and rollback remain unexplained.
- Design probe: Choose one domain and end-to-end SLO, include source checkpoint and replay, implement idempotent stream/batch merges, version contracts/models, expose lineage/quality/cost, and rehearse duplicate, late, outage, migration, and privacy scenarios.
Benchmarks & rules of thumb
- End-to-end freshness
- each source path to certified Gold target
- Reconciliation
- batch and stream business keys/totals converge
- Recovery drill
- checkpoint rollback/backfill reproduces logical version with evidence
Common mistakes & follow-ups
Common interview mistakes
- A portfolio capstone may stitch demos without one logical business grain, or it may prove the happy path only while duplicate events, late data, schema drift, ACL bypass, cost spikes, and rollback remain unexplained.
- Reporting success from a job exit code without checking End-to-end freshness and Reconciliation.
- Treating this example as complete without replay, rollback, or access boundaries: Commerce events stream CDC through Kafka/Flink into Iceberg bronze/silver, a daily batch reconciles inventory, dbt builds governed daily/customer models, Trino/BI serves Gold, OpenLineage/GX track evidence, and all partitions can be replayed from a checkpoint.
Likely interviewer follow-ups
- How would you prove this contract instead of only checking that the command ran: A portfolio-scale, production-shaped project that demonstrates architecture decisions and operability, not every possible tool.
- What does the recovery plan do when this occurs? A portfolio capstone may stitch demos without one logical business grain, or it may prove the happy path only while duplicate events, late data, schema drift, ACL bypass, cost spikes, and rollback remain unexplained.
- When is Capstone insufficient for Reconciliation, and what does adding Batch+Stream cost in End-to-end freshness?
Knowledge check
Put it into practice
Practice related interview Q&A
Apply Capstone Project: End-to-End Batch & Streaming Lakehouse Platform with data engineer interview Q&A and hands-on practice.