Estuary

PostgreSQL CDC Setup Tutorial: Real-Time Data Capture with Estuary (Step-by-Step)

TUTORIALS3/31/2023

Learn how to set up PostgreSQL Change Data Capture (CDC) with Estuary in under 10 minutes. This tutorial walks through enabling logical replication on Google Cloud SQL, creating the replication user, and connecting your Postgres database to Estuary for real-time streaming to Snowflake, BigQuery, Databricks, and more.

⚠️ Heads up: This video was recorded on an earlier version of Estuary. The core concepts (logical replication, replication user, Cloud SQL flags) still apply, but the UI and a few setup steps have been updated since. For the latest instructions, follow the docs: https://docs.estuary.dev/reference/Connectors/capture-connectors/PostgreSQL/

πŸ‘‰ Try Estuary Free: https://dashboard.estuary.dev/register
πŸ‘‰ Book a Demo: https://estuary.dev/demo
πŸ‘‰ Full Docs: https://docs.estuary.dev/reference/Connectors/capture-connectors/PostgreSQL/

━━━━━━━━━━━━━━━━━━━━━━━
WHAT YOU'LL LEARN
━━━━━━━━━━━━━━━━━━━━━━━
βœ… How to enable logical replication on Cloud SQL PostgreSQL
βœ… How to create a dedicated replication user with correct privileges
βœ… How to configure the Estuary PostgreSQL capture connector
βœ… How to troubleshoot connection string and IP allowlist errors

━━━━━━━━━━━━━━━━━━━━━━━
CHAPTERS
━━━━━━━━━━━━━━━━━━━━━━━
0:00 Intro: PostgreSQL CDC with Estuary
0:52 Enable Logical Replication on Cloud SQL PostgreSQL
2:45 Create Estuary Capture for PostgreSQL
3:00 PostgreSQL Endpoint Configuration (Host, Port, User)
3:55 Troubleshooting: No Collections Found in Source Database
5:14 Troubleshooting: PostgreSQL Connection String Errors

━━━━━━━━━━━━━━━━━━━━━━━
WHY POSTGRESQL CDC WITH ESTUARY
━━━━━━━━━━━━━━━━━━━━━━━
Estuary is a real-time data platform built for Change Data Capture. Unlike batch ETL tools, Estuary streams row-level changes from PostgreSQL's write-ahead log (WAL) to destinations like Snowflake, BigQuery, Databricks, Redshift, and ClickHouse with sub-second latency.

Works with PostgreSQL on:
- Google Cloud SQL
- Amazon RDS / Aurora
- Azure Database for PostgreSQL
- Supabase, Neon, Heroku
- Self-hosted PostgreSQL

━━━━━━━━━━━━━━━━━━━━━━━
CONNECT WITH ESTUARY
━━━━━━━━━━━━━━━━━━━━━━━
🌐 Website: https://estuary.dev/
πŸ’¬ Slack Community: https://estuary-dev.slack.com/
πŸ“š Docs: https://docs.estuary.dev/

#PostgreSQL #CDC #ChangeDataCapture #DataEngineering #DataPipeline #RealTimeData #Estuary #CloudSQL #LogicalReplication #ETL

More videos

Estuary logo on light background

Seamless Data Integration, Unlimited Potential

Discover the simplest way to connect and move your data.Get hands-on for free, or schedule a demo to see the possibilities for your team.