A benchmark for comparing streaming ingest from Apache Kafka into Apache Iceberg. It replays the same frozen workload across engines and independently reads the resulting tables to measure throughput, freshness, exactness and output file sizes.
The repository includes integrations for Apache Flink and Apache Spark, plus an external-engine contract for benchmarking other Kafka-to-Iceberg writers.
We are building Eon Yukon, a streaming engine for Kafka-to-Iceberg ingest. It runs through the external-engine contract, and its results sit beside Flink and Spark under the same rules.
| Mode | Question it answers |
|---|---|
| Sustainable (default) | What fleet keeps up within a freshness bound? |
| Saturation | What throughput can fixed compute commit under excess load? |
We found no benchmark that measured streaming ingest the way a lakehouse runs it: keeping a table fresh at high volume while accounting for small files and compaction cost. This benchmark measures them together:
- Freshness at volume: the table must meet fixed p95 and maximum lag bounds and drain fully at the offered rate.
- Small files: the benchmark records the file sizes each engine leaves behind.
- Compaction: fleets that rewrite small files are costed with that compute included.
The three pull against each other. Committing often keeps a table fresh but leaves many small files that slow reads, and compacting them costs compute of its own.
We also wanted to measure how engines handle skew, because real-world workloads are often skewed. The standard 200-column events corpus runs on both uniform and skewed keys at approximately 1 million rows per second.
Install Docker with Compose v2, jq, yq (mikefarah v4), and curl.
Give Docker 16 GB of RAM. Use uv for host tools and tests.
git clone <this repository> && cd ingest-bench
uv sync
scripts/smoke.sh
scripts/smoke.sh --engine sparkThe smoke stages a five-minute, 5 MB/s corpus, runs ingest, scores the table,
and prints its verdict and file geometry. Artifacts remain in runs/<run_id>/.
For a quick integration check, add --set duration_s=30; this can end before
warmup or the first commit, so follow the smoke interpretation
guide. Local smokes share one machine's resources
and are not performance results. Recorded smokes include
the artifacts behind their verdicts.
Prefix Python CLI examples with uv run, or activate .venv first.
Provide a Kubernetes cluster, configure site.yaml, build images and generate
a corpus using the AWS setup guide or
in-cluster stack guide. Keep brokers on dedicated
nodes for measurements and budget for producer and scorer resources.
The run workflow uses shell drivers under scripts/:
stage → launch → gate → teardown → finish → purge
scripts/run.sh <spec> runs all steps except purge. Tear down billable shared
services between campaigns.
Each figure is the smallest fleet found so far that streamed an hour of Kafka data into Iceberg and kept up. Lower is better.
Fleets shown here meet both criteria:
- Exactly-once (append tracks): every offered row is committed once, verified by row ID.
- Latest per key (upsert tracks): each key's newest version is live, and no other, verified at sampled snapshots.
- Freshness: lag p95 ≤ 90 s and max ≤ 120 s, after up to 5 minutes of warm-up.
See the methodology for details.
Requested compute for ingest without file compaction.
| Engine | Tier | 50 MB/s upsert | 1376 MB/s skewed | 1376 MB/s uniform |
|---|---|---|---|---|
| Eon Yukon | tuned | 4 vCPU · 10 GiB | 35 vCPU · 172 GiB | 35 vCPU · 172 GiB |
| Flink | tuned | n/a | 239 vCPU · 956 GiB | 253 vCPU · 652 GiB |
| Spark | tuned | 22 vCPU · 81 GiB | 135 vCPU · 214 GiB | 135 vCPU · 214 GiB |
| Flink | reference | 13 vCPU · 40 GiB | n/a | n/a |
Requested compute for fleets that ingest data and rewrite small files into larger ones.
Compaction is not yet included in the keep-up verdict. Review each run's notes for compaction backlog evidence before comparing.
| Engine | Compaction method | 1376 MB/s skewed | 1376 MB/s uniform |
|---|---|---|---|
| Eon Yukon | Integrated compaction | 63 vCPU · 228 GiB | 63 vCPU · 228 GiB |
| Spark | Spark rewrite sidecar | 270 vCPU · 523 GiB | 270 vCPU · 523 GiB |
| Flink | Flink maintenance sidecar | n/a | 422 vCPU · 1326 GiB |
Fleets, freshness and file sizes for every track are in the full results.
How results are selected explains tracks, modes and tiers. To add a result, follow submitting a result.
| Task | Guides |
|---|---|
| Run a benchmark | Running, pitfalls |
| Configure a workload | Run specs, corpora |
| Tune an engine | Flink, Spark |
| Interpret measurements | Methodology, saturation, result format |
| Check engines that could not keep up | Attempted engines |
| Add a result | Submitting a result, publication rules |
| Extend or contribute | Adding an engine, contributing |
Implementation lives in ingest_bench/, integrations in engines/, drivers in
scripts/, and deployment templates in deploy/. Workload definitions and
tracks are in workloads/, run specs in specs/, and local artifacts in runs/.
CC BY-NC-SA 4.0. See NOTICE for Eon attribution and third-party notices.