-
Couldn't load subscription status.
- Fork 394
mysql clickpipe: binlog faq #3837
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -9,10 +9,15 @@ | |
| # ClickPipes for MySQL FAQ | ||
|
|
||
| ### Does the MySQL ClickPipe support MariaDB? {#does-the-clickpipe-support-mariadb} | ||
| Yes, the MySQL ClickPipe supports MariaDB 10.0 and above. The configuration for it is very similar to MySQL, with the GTID behaviour being enabled by default. | ||
| Yes, the MySQL ClickPipe supports MariaDB 10.0 and above. The configuration for it is very similar to MySQL, using GTID replication by default. | ||
|
Check notice on line 12 in docs/integrations/data-ingestion/clickpipes/mysql/faq.md
|
||
|
|
||
| ### Does the MySQL ClickPipe support Planetscale, Vitess? {#does-the-clickpipe-support-planetscale-vitess} | ||
| Currently, we support only standard MySQL. Since PlanetScale is built on Vitess, integrating with Vitess's VStream API and handling VGtids (Vitess Global Transaction IDs) to track incremental changes is required. This differs from how CDC operates in native MySQL. Adding support for this functionality is being actively worked on. | ||
| ### Does the MySQL ClickPipe support PlanetScale, Vitess, or TiDB? {#does-the-clickpipe-support-planetscale-vitess} | ||
|
Check failure on line 14 in docs/integrations/data-ingestion/clickpipes/mysql/faq.md
|
||
| No, these do not support MySQL's binlog API. | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I did an evaluation of these alternative's CDC story. Vitess CDC lacks authentication (ie, you connect to grpc endpoint & have complete access). As a result PlanetScale made their own CDC protocol which we would have to implement based on their airbyte connector as a reference implementation. TiDB deprecated support for binlog API, instead implementing TiCDC This fractured landscape makes implementing a connector for these services less appetizing, to the point that we are not actively working on any of them |
||
|
|
||
| ### How is replication managed? {#how-is-replication-managed} | ||
| We support both `GTID` & `FilePos` replication. Unlike Postgres there is no slot to manage offset. Instead, you must configure your MySQL server to have a sufficient binlog retention period. If our offset into the binlog becomes invalidated *(eg, mirror paused too long, or database failover occurs while using `FilePos` replication)* then you will need to resync the pipe. Make sure to optimize materialized views depending on destination tables, as inefficient queries can slow down ingestion to fall behind the retention period. | ||
|
|
||
| It's also possible for an inactive database to rotate the log file without allowing ClickPipes to progress to a more recent offset. You may need to setup a heartbeat table with regularly scheduled updates. | ||
|
|
||
| ### Why am I getting a TLS certificate validation error when connecting to MySQL? {#tls-certificate-validation-error} | ||
| If you see an error like `failed to verify certificate: x509: certificate is not valid for any names`, this occurs when the SSL/TLS certificate on your MySQL server doesn't include the connecting hostname (e.g., EC2 instance DNS name) in its list of valid names. ClickPipes enables TLS by default to provide secure encrypted connections. | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sentence casing this is inconsistent with rest of doc (also I tried appeasing it, maybe TiDB is bothering it?)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@serprex I added MySQL, ClickPipe, PlanetScale, Vitess and TiDB as exceptions and it still wasn't happy :) so we'll ignore it