Repository navigation
feat(services): write capture data to iceberg tables - #132
Merged
Merged
Conversation
The ingest pipeline hands each flushed buffer to a LakeSink and acks only after its commit. The Parquet staging, copy and catalog registration move unchanged into ParquetSink; no behaviour change.
CORVUS_LAKE_FORMAT=iceberg makes ingest append the frames to the events and raw tables of the Polaris REST catalog instead of writing Parquet files. Parquet stays the default. The tables are created at start-up if missing, partitioned by date. A message is acked only after its append committed; commit conflicts are retried with a fresh table load. No lake_files rows are written in Iceberg mode. Layout and settings: docs/reference/data-lake.md section 2a.
Adds a lake block to values: format (default parquet), catalog URI, warehouse, namespace, OAuth token URL, scope and client id, and existing Secrets for the client secret and the S3 keys. With format iceberg the ingest Deployment gets the CORVUS_LAKE_* settings; a missing value fails the render.
TheMeinerLP
force-pushed
the
feat/ingest-iceberg-writer
branch
from
November 18, 2026 13:49
42f5d90 to
ba6e1fc
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Capture data can now land in Apache Iceberg tables instead of Parquet files. Today every flushed batch of frames becomes a Parquet file plus a catalog row, which makes later changes (erasing a player, expiring old data, pinning a dataset to a fixed state) file surgery. Iceberg gives those operations a table-level answer. This PR adds the write path only, behind a setting.
CORVUS_LAKE_FORMAT=iceberg, ingest appends each flush to theeventsandrawtables of the Polaris catalog. The tables are created on start-up if they are missing.Not in this PR
rawin Iceberg. Expiry still works on the Parquet files only.Layout, settings and the open points are in
docs/reference/data-lake.mdsection 2a.Testing