rusuly / mysql_cdc Goto Github PK
View Code? Open in Web Editor NEWMySQL/MariaDB binlog replication client for Rust
License: MIT License
MySQL/MariaDB binlog replication client for Rust
License: MIT License
There appears to be a case where a freshly started MySQL server is accepting a connection from mysql_cdc, but ignoring the request to start sending replication events.
Instead, a call to replicate()
just blocks, even if blocking is disabled, because it never receives any data.
If the server is just swallowing the request to start, is it possible to instead wait for the FORMAT_DESCRIPTION_EVENT
event and, on a timeout, raise an error or potentially attempt to connect again?
At the moment our workaround is to attempt to connect to the server using connect()
and, when connected, to wait 10 seconds before attempting to start calling replicate()
however, this is both slow in the normal case and potentially still prone to errors if 10 seconds isn't enough for the server to actually be ready to accept new replicas.
Thanks for supporting the additional binlog event, but release 0.1.7 was backward incompatible.
Please consider yanking the release 0.1.7 and re-release it as version 0.2.0. Thanks!
Is there a good way to filter table names? such as the canal do.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.