Add 2026-06 RTM-on-SDP flight tracker blog example#92
Open
apingledbx wants to merge 3 commits into
Open
Conversation
Spark Declarative Pipeline in Real-Time Mode: a stateless enrichment flow and a stateful zone-congestion flow (transformWithState), both writing to Lakebase. Co-authored-by: Isaac
Co-authored-by: Isaac
anupkalburgi
approved these changes
Jun 25, 2026
jerrypeng
reviewed
Jun 26, 2026
| spark_conf={ | ||
| "pipelines.trigger": "RealTime", # turn RTM on | ||
| # checkpoint cadence for state + offsets, NOT a micro-batch size | ||
| "pipelines.trigger.interval": "1 minute", |
There was a problem hiding this comment.
I would guest 5 minutes. That is the recommended default
jerrypeng
reviewed
Jun 26, 2026
| # COMMAND ---------- | ||
|
|
||
| # Native Lakebase external sink: write straight to the operational store the | ||
| # app reads, instead of landing results in a table for analytics. |
There was a problem hiding this comment.
Please indicate this is PrPr experience
jerrypeng
reviewed
Jun 26, 2026
| # checkpoint cadence for state + offsets, NOT a micro-batch size | ||
| "pipelines.trigger.interval": "5 minutes", | ||
| "spark.sql.shuffle.partitions": "4", | ||
| "spark.sql.streaming.jdbc.enabled": "true", |
jerrypeng
reviewed
Jun 26, 2026
| ``` | ||
| spark.databricks.streaming.realTimeMode.enabled = true | ||
| pipelines.externalSink.enabled = true | ||
| spark.sql.streaming.jdbc.enabled = true |
jerrypeng
reviewed
Jun 26, 2026
|
|
||
| # Native Lakebase external sink: write results straight to the operational store | ||
| # the app reads, instead of landing them in a table for analytics. | ||
| dp.create_sink( |
jerrypeng
reviewed
Jun 26, 2026
| # checkpoint cadence for state + offsets, NOT a micro-batch size | ||
| "pipelines.trigger.interval": "1 minute", | ||
| "spark.sql.shuffle.partitions": "4", | ||
| "spark.sql.streaming.jdbc.enabled": "true", |
…s on Lakebase sink - congestion flow trigger.interval 1 minute -> 5 minutes (recommended RTM default) - note the jdbcStreaming Lakebase sink is Private Preview at each sink/jdbc.enabled spot (01, 02, README) 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.
Spark Declarative Pipeline in Real-Time Mode: a stateless enrichment flow and a stateful zone-congestion flow (transformWithState), both writing to Lakebase.