Giter VIP home page Giter VIP logo

mysql_cdc's People

Contributors

rusuly avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

mysql_cdc's Issues

TODO

  • BinlogClient
  • Row events
  • GTID
  • Write tests
  • Write docs
  • Replace panic!, unwrap and expect with Result
  • Implement SSL
  • Add buffering(like PipeReader from C#)
  • Handle split packets
  • Parse MySQL JSON
  • Handle heartbeat timeout and cancellation

Release 0.1.7 was backward incompatible

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!

Reference:

Freshly started server accepting connections, but not starting replication

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.