Databricks makes its native Lakebase sink for Spark Structured Streaming generally available
Databricks announced general availability of a native Lakebase sink for Spark Structured Streaming, so pipelines can write results into its managed PostgreSQL service with one writeStream call instead of a custom foreach writer. It works in micro-batch and Real-Time Mode.
Why it matters
The connector handles batching, connection reuse, retries with exponential backoff and upserts declared through an upsert key, while merge strategies control how non-key columns update on conflict. Tables registered in Unity Catalog can be written with the toTable method, and the connector manages credentials as the running user or service principal.
In Databricks' test, a pipeline sustained about 20,000 events per second for an hour against 5 million users, with median end-to-end latency of 183 milliseconds and p99 of 354 milliseconds. The company notes the test used synthetic data and results will differ with input rate and cluster size.
The sink requires Databricks Runtime 18 LTS or above and is not supported in Lakeflow Declarative Pipelines; on serverless, use the AvailableNow trigger. A DraftKings engineer said it reduced custom connection pooling, batching and retry code in the company's risk data path.