internalsGet Pro

Module 12 · Lesson 9 of 12Pro

Streaming into Iceberg and Delta tables

Level
Advanced
Topic
Data lakes and lakehouses
Reading time
18 min

When you finish this page you can

  1. Work out the files, snapshots and freshness a streaming writer produces from its commit interval and writer count.
  2. Explain how a streaming writer commits to an Iceberg table exactly once, and what is left behind after a crash.
  3. Compare copy-on-write and merge-on-read for applying CDC updates and deletes, with equality deletes and their read cost.
  4. Choose between Flink, the Kafka Connect Iceberg sink and Spark Structured Streaming as a table writer, and say what would change the choice.

Builds on 4 lessons

Start with lesson 418 min
  1. Inside a table format: snapshots and transactions18 min
  2. Checkpoints: recovering without losing results18 min
  3. Landing CDC data in a warehouse or lakehouse17 min
  4. Kafka Connect: moving data in and out18 min

17,280 files for one day of clicks

is an online store in India. Its apps send about 200 million click events a day to Kafka, and Debezium sends every change to its orders and inventory databases there too. Meera, a data engineer, is moving both into Apache Iceberg tables in s3://kartly-lake-prod/, where Spark, Snowflake and DuckDB read them. Today clicks land in S3 only as plain Parquet files, and current-state orders exist only in Snowflake.

Our biggest sale ever · Black Friday

Flat 50% Off

Pro

Continue reading

Unlock every course, now and later

  • System Design, live
  • AI Engineering, live
  • Data Engineering, live
  • Machine Learning Engineering, live
  • Inference Engineering, coming soon
  • AI Research, coming soon
  • Performance Engineering, coming soon
  • Agent & Harness Engineering, coming soon
  • LLM Fine-tuning, coming soon
  • LLM Pre-training & Post-training, coming soon
  • Reinforcement Learning, coming soon
  • AI Infrastructure & Platform Engineering, coming soon
  • AI Evaluation & Safety, coming soon
  • Forward Deployed Engineering, coming soon
  • Cloud Computing, coming soon
  • DevOps, coming soon

50% off · Annual and Lifetime

BLACKFRIDAY50Applied at checkout

Choose a plan