WIP: feat(canonical): dual-read ingestion with Zerobus bootstrap#58
Open
WIP: feat(canonical): dual-read ingestion with Zerobus bootstrap#58
Conversation
- make bronze ingestion read both volume files and raw events table\n- auto-bootstrap zerobus service principal, secrets, and UC grants\n- add ingest/zerobus params with volume default across targets\n- keep free target on volume by default while enabling runtime cutover
…i-terminal artifacts from sync - refactor bronze layer: replace single all_events table with two @dlt.view sources (bronze_volume_events, bronze_zerobus_events) feeding all_events table, making both ingestion paths visible in the pipeline DAG - exclude apps/caspersai-terminal/node_modules, logs, and test from bundle sync Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
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
RAW_EVENTS_TABLE)INGEST_MODE(volumedefault,zerobusoptional)stages/canonical_data:RAW_DATA_VOLUME,RAW_DATA_TABLE)ZEROBUS_REGION, optionalZEROBUS_ENDPOINT)all_eventsinto two named@dlt.viewsources (bronze_volume_events,bronze_zerobus_events) for DAG visibilityWhy
This makes cutover operationally simple: switch only writer mode between runs, without reconfiguring the pipeline.
Zerobus is currently blocked in serverless workspaces. Zerobus requires tables with a managed storage location, but serverless workspaces only support Default Storage — which Zerobus does not support. Until this is resolved,
INGEST_MODE=zerobuscannot be used in a serverless context.See: Zerobus limitations – Workspace and target table
Validation
databricks bundle validate -t defaultdatabricks bundle validate -t complaintsdatabricks bundle validate -t freedatabricks bundle validate -t menusdatabricks bundle validate -t allpython -m py_compile pipelines/order_items/transformations/transformation.pyNotes
freetarget remains defaulted toINGEST_MODE=volume.