Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
E

etl

> 数据库
Open source

Stream your Postgres data anywhere in real-time. Simple Rust building blocks for change data capture (CDC) pipelines.

2.3K stars0 likes0 views
WebsiteGitHub

About

Stream your Postgres data anywhere in real-time. Simple Rust building blocks for change data capture (CDC) pipelines.


Supabase ETL

High-performance Postgres replication, written in Rust.
Embed it as a library or run it as a standalone binary.

A project by Supabase.

Documentation · First Pipeline · Standalone Replicator · Examples · Issues

[!NOTE] Supabase ETL is under active development. APIs and setup steps may change before the first stable release.

Supabase ETL is a high-performance Postgres replication engine written in Rust. Embed it in your Rust application or run it as a standalone binary. For each published table, it performs an initial sync of existing rows, then replicates changes to a built-in or custom destination.

This repository contains the framework, destination modules, standalone replicator, examples, and documentation. For the managed product in the Supabase Dashboard—including availability, pricing, and operations—use the Supabase Pipelines documentation.

How It Works

mermaid
flowchart LR
    Postgres["Postgres publication"] --> Sync["Initial sync"]
    Sync --> Replication["Ongoing replication"]
    Replication --> Destination["Destination"]

Supabase ETL replicates each table in two phases:

  1. Initial sync: Copy the existing rows selected by the publication, then catch up changes that occurred while the copy was running.
  2. Ongoing replication: Capture subsequent inserts, updates, deletes, and truncates, then deliver those changes as ordered events.

Across both phases, a store persists checkpoints, schemas, destination metadata, and table state so replication can recover safely after a restart. Copy and change data capture (CDC) are replication paths, not customer-visible phases. Initial sync uses the copy path followed by CDC catch-up; ongoing replication uses the CDC path after the table is ready.

Start Here

Goal Documentation
Build a working pipeline First Pipeline
Run the standalone process Standalone Replicator
Prepare a source database Configure Postgres
Implement a store or destination Custom Implementations
Understand the runtime Architecture
Browse runnable destinations etl-examples

ETL is installed from Git while we prepare for a crates.io release:

toml
[dependencies]
etl = { git = "https://github.com/supabase/etl" }
tokio = { version = "1", features = ["full"] }

Why Supabase ETL?

  • Library or standalone binary: Embed the engine in a Rust application or run the ready-made replicator.
  • High performance, small footprint: Run one Rust process without Kafka, Flink, Debezium, or another coordination service.
  • Postgres-native selection: Use publications to select tables, columns, rows, and operation types.
  • Flexible by design: Implement custom destinations and durable stores with typed Rust APIs.
  • Recovery-aware: Persist checkpoints and table state for safe restarts and at-least-once delivery.

Independent Benchmark

~33× lower tail latency. ~125× smaller measured runtime memory footprint. Compared with Debezium Server 3.1.3.Final in Hardbyte's independent CDC benchmark: 26 ms vs. 848 ms and 13 MB vs. 1,629 MB, at 200 source changes/s across four fast HTTP consumers.

Tested ETL d206d66e (July 2026) with a custom HttpDestination and MemoryStore. Results compare specific configurations: versions, polling, batching, destination, store, workload, and deployment all affect performance. See benchmark details for versions, measurement methodology, and configuration differences.

Destinations

Feature Destination Status
clickhouse ClickHouse In progress
bigquery Google BigQuery Stable
ducklake DuckLake In progress
snowflake Snowflake In progress
iceberg Apache Iceberg Deprecated

ClickHouse is the fastest way to start locally: cargo x init runs it, and cargo x setup replicator configures it by default. BigQuery is the most mature cloud destination. See the Destinations reference for maturity and limitations, and the etl-examples guide for runnable examples.

Requirements

Supabase ETL supports PostgreSQL 14 through 18. PostgreSQL 15 or newer is recommended for column and row publication filters. PostgreSQL 16 or newer is required when the replication connection points at a physical read replica.

The source must use wal_level = logical, and the replication user needs the REPLICATION role. See Configure Postgres for the complete setup and production guidance.

Development

bash
cargo x init              # Docker, databases, migrations
cargo x setup api && cargo x run api
cargo x setup replicator && cargo x seed && cargo x run replicator

See DEVELOPMENT.md to start the replicator or API, pick a destination, and run tests. The workspace uses Rust 1.95.0 from rust-toolchain.toml.

Contributing

Contributions are welcome. Before proposing a new destination, start a discussion or issue so maintainership and long-term demand can be evaluated first.

Report suspected vulnerabilities privately according to SECURITY.md.

License

Apache-2.0. See LICENSE.

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

Rustlogical-replicationpostgrespostgresqlreplication

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category数据库
PricingOpen source

> Related tools

P
PostgreSQL
功能强大的开源关系型数据库
R
Redis
内存数据结构存储,常用作缓存与队列
M
MySQL
广泛使用的开源关系型数据库