← Blog

Millisecond fraud pipelines should not need a second streaming engine

Databricks put Real-Time Mode on Spark Declarative Pipelines into GA — continuous stage pipelining for millisecond end-to-end latency, ForEach sinks into OLTP stores, and up to 92% faster feature compute vs Flink on customer workloads.

Data EngineeringLakehouseLLM Ops

Operational streaming used to mean a second stack: Flink for the hot path, Spark for ETL, two APIs, two ops models, two places governance can drift. Fraud and personalization do not have time for that split.

Databricks put Real-Time Mode (RTM) on Spark Declarative Pipelines (SDP) into general availability on October 29, 2026. RTM streams continuously, runs query stages concurrently, and passes data between stages as soon as it is produced — targeting end-to-end latencies in the millisecond range, positioned as up to 100× faster than traditional micro-batch. Databricks says customers no longer need a separate specialized engine such as Apache Flink for those workloads. On customer feature-computation benchmarks, RTM was up to 92% faster than Flink. SDP keeps dependency resolution, incremental processing, orchestration, failure recovery, and data quality. Enable with pipeline mode `continuous`, `spark.databricks.streaming.realTimeMode.enabled=true`, and an update flow with `pipelines.trigger` set to `"RealTime"`. ForEach sinks write each row to Lakebase, Redis, or other OLTP stores without an offline-to-online sync. Databricks Feature Store cites p99 200 ms from Kafka to the online feature store on this pattern. Serverless RTM charges for cores used; roadmap includes bin-packing multiple RTM flows and a native Lakebase sink.

What platform and ML ops leads should require before retiring the Flink sidecar:

  • Prefer one SDP surface for batch ETL and millisecond operational flows — one observability and billing model
  • Land real-time features via ForEach sinks into the online store; do not add a nightly sync for fraud and personalization signals
  • Turn RTM on deliberately (continuous + flag + RealTime trigger) and load-test p99 before cutting over production scorers

Latency-critical AI features fail when the hot path is a different product than the lakehouse. RTM on SDP is how Spark teams keep both under one declarative contract.