Real-time pipelines
A batch job computes all of its results again on each run, so the results are old and the compute cost increases with the data. A Feldera pipeline runs the same SQL incrementally. When the input changes, Feldera updates only the results that the change affects, from the raw tables to the final views.
Why Feldera
- The SQL you already run. Feldera evaluates full SQL incrementally, including joins, aggregates, window functions, subqueries and recursion.
- History and live data in one pipeline. Load a snapshot from Delta Lake or Iceberg, then continue on changes from Kafka, Debezium or PostgreSQL CDC.
- Correct results. Each view always equals the result of its query on all of the input. With fault tolerance, a pipeline continues from where it stopped after a crash.
Build it
The steps are in How to build a use case. The usual shapes:
| Shape | Sources | Results | Start from |
|---|---|---|---|
| Real-time medallion | Bronze Delta Lake or Iceberg tables in snapshot_and_follow mode | Silver and gold views, written to Delta Lake | Medallion SQL |
| Lakehouse batch job | The job's lakehouse or S3 tables | The job's SQL as views, written back to the lakehouse | Batch analytics SQL |
| Streaming and CDC | Kafka, Debezium, PostgreSQL CDC | Kafka, PostgreSQL, Redis | The Debezium demos below |
To port Spark SQL, use the felderize skill in Feldera Agent Skills.
Guides and demos
GuideFrom batch jobs to real-time pipelinesConvert a Spark SQL batch job into a Feldera pipeline, then run it on historical and live data.GuideReal-time medallion architectureKeep bronze, silver and gold layers current in one pipeline. Includes a comparison with Spark and Databricks.GuideTime series analysisLateness, final values, append-only tables and temporal filters for event data.DemoDebezium PostgreSQL sourceReplicate a Postgres table into Feldera through Debezium and Kafka, in JSON and Avro.DemoDebezium MySQL sourceReplicate a MySQL database into Feldera through Debezium and Kafka.DemoJDBC sinkWrite the output of a view to PostgreSQL through the Debezium and Confluent JDBC sinks.