Add clickstream-direct-to-lakehouse demo (Zerobus to Managed Delta, transformWithState)#248
Open
syudb wants to merge 1 commit into
Open
Conversation
…ransformWithState) Part A of replacing the Spark Streaming - Advanced (streaming-sessionization) demo. Lands app clickstream events directly into a Unity Catalog managed Delta table via Zerobus, then sessionizes with Structured Streaming transformWithState and MERGE-upserts a sessions table. New demo; does not modify the existing streaming-sessionization demo. FEIP-7706 Co-authored-by: Isaac
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.
New product demo:
product_demos/clickstream-direct-to-lakehouse.Lands application clickstream events directly into a Unity Catalog managed Delta table via Zerobus (no Kafka, no message bus), then sessionizes with Structured Streaming
transformWithState(event-time timers, dedup for Zerobus at-least-once) and MERGE-upserts asessionstable read with plain SQL. Modernizes the streaming-sessionization story to Zerobus +transformWithState, replacing the legacyapplyInPandasWithState.Notebooks:
00-setup-table- define the events UC managed Delta table.01-zerobus-producer- stream synthetic clickstream events in via the Zerobus REST API (one-time Zerobus service principal + secret-scope setup is documented in the notebook).02-sessionize- dedupe, sessionize withtransformWithState, MERGE into a sessions table.New demo; does not modify the existing
streaming-sessionizationdemo. Images: databricks-demos/dbdemos-resources#58.