Lakebase Postgres Spark streaming write connector is now generally available
Understand this story
Databricks announced the general availability of a native Lakebase sink connector for Apache Spark Structured Streaming. With a single writeStream call, users can write computation results directly to Lakebase Postgres, eliminating the need to build their own foreach writer. The connector requires Databricks Runtime 18 LTS or later; RealTime and ProcessingTime triggers run only on classic compute, and on serverless, Trigger.AvailableNow must be used instead; it does not support Lakeflow Declarative Pipelines. Databricks said the same format("postgresql") path can also write to external PostgreSQL databases (such as Amazon RDS or self-hosted) via a Unity Catalog connection; this capability requires DBR 19+ and is currently in Public Preview.
AI overview based on source reports · Updated 1 hr ago
Coverage timeline
Follow the coverage to explore different perspectives.
- Databricks BlogAnnouncing General Availability of native Lakebase Postgres sink for Spark Structured Streaming
Databricks announced the general availability of a native Lakebase sink for Apache Spark Structured Streaming that writes computed results directly to Lakebase, handling batching, connection pooling, retries, deduplication, upserts and Unity Catalog-managed authentication instead of a custom foreach writer. The same connector works in micro-batch and Real-Time Mode, and in a test pipeline at ~20K events/sec against 5 million active users it showed P50 end-to-end latency of 183 ms and P99 of 354 ms. It is available on Databricks Runtime 18 LTS and above, with merge strategies on DBR 19+ and support for external PostgreSQL via a Unity Catalog connection in Public Preview.
Activity for this story
Not enough continuous observations to show a trend yet.