Stream data from Google PubSub to Google Cloud SQL for MySQL
Move data from Google PubSub to Google Cloud SQL for MySQL in minutes using Estuary. Stream, batch, or continuously sync data with control over latency from sub-second to batch.
No credit card required
30-day free trial
How to integrate Google PubSub with Google Cloud SQL for MySQL in 3 simple steps
1
Connect Google PubSub as your data source
Set up a source connector for Google PubSub in minutes. Estuary supports streaming (including CDC where available) and batch data capture through events, incremental syncs, or snapshots — without custom pipelines, agents, or manual configuration.
2
Configure Google Cloud SQL for MySQL as your destination connector
Estuary supports intelligent schema handling, with schema inference and evolution tools that help align source and destination structures over time. It supports both batch and streaming data movement, reliably delivering data to Google Cloud SQL for MySQL.
3
Deploy and Monitor Your End-to-End Data Pipeline
Launch your pipeline and monitor it from a single UI. Estuary guarantees exactly-once delivery, handles backfills and replays, and scales with your data — without engineering overhead.
The Google Cloud Pub/Sub capture connector in Estuary continuously captures JSON messages from Pub/Sub topics into Estuary collections. During setup, Estuary discovers the topics available in your Google Cloud project, and each enabled topic is mapped to a collection through its own Pub/Sub subscription.
Real-time message capture from Google Cloud Pub/Sub topics
Automatic topic discovery for topics accessible to the configured service account
Automatic subscription creation for each enabled Pub/Sub topic
Durable message processing, with messages acknowledged only after they are committed to an Estuary collection
JSON message support for capturing structured event and streaming data
Google Cloud service account authentication for secure access to Pub/Sub resources
The connector uses Pub/Sub subscriptions configured for exactly-once delivery, but capture should still be treated as at-least-once because a message can occasionally be captured more than once if the connector restarts after committing it but before acknowledging it to Pub/Sub. Standard Estuary materializations automatically deduplicate these documents based on document ID.
For more details about the Google PubSub connector, check out the documentation page.
The Google Cloud SQL for MySQL materialization connector in Estuary delivers data from Estuary collections into MySQL tables hosted on Google Cloud SQL. It supports continuous materialization from real-time or batch pipelines, using standard merge-based updates by default with optional delta updates for applicable workloads.
Supports MySQL 5.7 and later
Standard merge-based updates by default to keep destination rows synchronized
Optional delta updates for workloads where changes should be applied incrementally
Automatic table creation for configured materialization bindings
Custom SQL after table creation for additional table configuration
Direct Google Cloud SQL connectivity or SSH tunneling
Configurable SSL modes, including certificate and hostname verification
Configurable timezone handling using IANA timezone names or UTC offsets
Automatic conversion of date-time fields to UTC when materialized
Automatic quoting of MySQL reserved words when used as field names
The database user must have permission to create tables, and MySQL’s local_infile global variable must be enabled. For direct connections, enable a public IP on the Cloud SQL instance and authorize Estuary’s IP addresses; alternatively, an SSH tunnel can be used for private connectivity.
For more details about the Google Cloud SQL for MySQL connector, check out the documentation page.
Estuary customers not only do 4x more. They also spend 2-5x less on ETL and ELT. Estuary’s unique ability to mix and match streaming and batch loading has also helped customers save as much as 40% on data warehouse compute costs.
Google PubSub to Google Cloud SQL for MySQL pricing estimate
Estimated monthly cost to move 800 GB from Google PubSub to Google Cloud SQL for MySQL is approximately $600.
Data moved
Choose how much data you want to move from Google PubSub to Google Cloud SQL for MySQL each month.
Choose number of sources and destinations.
Why pay more?
Move the same data for a fraction of the cost.
Estuary
Fivetran
ConfluentCommunity
Join the Slack community for the easiest way to get support while getting started.
Pricing is based on the volume of data moved and the number of active connectors. Use the pricing estimator above to see an estimated monthly cost for this pipeline.
Yes. Estuary pipelines are designed for production use, with exactly-once delivery semantics, automated backfills, and continuous operation at scale.
Yes. Estuary offers multiple deployment options, including fully managed SaaS, private deployments, and bring-your-own-cloud (BYOC). This allows teams to control where their data plane runs and meet security, compliance, and networking requirements. Learn more about Estuary's security and deployment options.
Yes, it’s possible to build a manual pipeline using custom scripts, scheduled jobs, or open-source tools. However, manual approaches typically require ongoing maintenance, custom error handling, schema management, and operational overhead. Estuary simplifies this by providing a managed pipeline with built-in reliability, scaling, and monitoring.
How to Integrate MongoDB with Relational Databases in Real Time (No Code)

Team Estuary
Article
MySQL to ClickHouse: CDC, Replication, and Data Integration Guide

Team Estuary
Article
How to Connect Salesforce to MySQL (No Code Required)

Jeffrey Richman
Article
Replicate MySQL to Iceberg in Real-time: [No-Code + Manual Guide]

Emily Lucek
Article
How to Move Data from Oracle to MySQL: 2 Effective Methods

Dani Pálma
Article
MySQL to AlloyDB Migration: How to Move Data in Minutes

Rob Meyer
Article




























































