RDI: Document Google Cloud SQL for MySQL as a source - #4179
Merged
Merged
Conversation
Add a preparation page for Cloud SQL for MySQL with self-managed RDI: binary logging, the lowercase binlog_row_image flag, authorized networks, creating the CDC user with an explicit host, the database.ssl.mode setting that enforced encryption needs, and what to expect during a Regional HA failover. Link to it from the MySQL/MariaDB preparation page. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Contributor
Contributor
🧠 Redis MemoryFound 7 related items from repository history (2 new this commit):
Memory updated at f940ca5 |
andy-stark-redis
approved these changes
Oct 1, 2026
andy-stark-redis
left a comment
Contributor
There was a problem hiding this comment.
A few minor optional suggestions, but otherwise LGTM.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What this adds
prepare-dbs/gcp-cloud-sql-mysql.md(Prepare Google Cloud SQL for MySQL for RDI), scoped to self-managed RDI (VM or Kubernetes). It covers:--enable-bin-log, or point-in-time recovery in the console).binlog_row_imagedatabase flag. The value must be lowercasefull, because Cloud SQL rejectsFULL.gcloud sql users create --host=%, plus theERROR 1410that appears when the user's host doesn't match theGRANT.database.ssl.mode: requiredunderadvanced.sourcewhen Cloud SQL enforces encrypted connections. Without it, deployment fails with a misleadingAccess denied ... (using password: YES).The supported-versions embed already lists MySQL 8.0 under "GCP SQL Versions", so it isn't changed.
Basis
This is based on hands-on testing of self-managed RDI 2.0.0 (Debezium collector, Flink processor) on a VM against a new Cloud SQL for MySQL 8.0 instance (
8.0.45-google). The instance used Regional HA, a public IP with authorized networks, andsslMode=ENCRYPTED_ONLY. Snapshot, CDC insert/update/delete, andgcloud sql instances failoverduring active writes all passed. During failover, RDI reconnected on its own and caught up with about one minute of extra lag. No committed changes were missed.Not tested, so not documented
database.ssl.mode: verify_ca/verify_identitywith the Cloud SQL server CA. The page points to the existing TLS section for this but doesn't claim it was validated.connect.keep.alive.interval.msproperty throughadvanced.source.🤖 Generated with Claude Code
Note
Low Risk
Documentation-only changes with no runtime, security, or data-path code modifications.
Overview
Adds Prepare Google Cloud SQL for MySQL for RDI, a new integration doc for self-managed RDI (VM/Kubernetes) that walks through Cloud SQL–specific setup instead of editing
my.cnf: enabling binlog (including console/PITR), settingbinlog_row_image=fullvia database flags, validating binlog variables, authorizing RDI egress IPs, creating/granting the CDC user (includingERROR 1410host mismatches), and configuringdatabase.ssl.modewhen connections must be encrypted. It also documents Regional HA failover behavior (automatic RDI reconnect and expected CDC lag).The existing Prepare MySQL/MariaDB page gains a note beside the RDS callout that points readers to this page for Cloud SQL binlog configuration.
Reviewed by Cursor Bugbot for commit f940ca5. Bugbot is set up for automated code reviews on this repo. Configure here.