blackbeam / rust-mysql-simple

Mysql client library implemented in rust.
Apache License 2.0
652 stars 145 forks source link

Inquiry Regarding BinlogStream in rust-mysql-simple #357

Open dongwook-chan opened 11 months ago

dongwook-chan commented 11 months ago

I'm a contributor to python-mysql-replication and go-mysql specializing in replication module. I see great potential in rust-mysql-simple and it would be my greatest honor to contribute to rust-mysql-simple.

I can see that there's functionality to read binary log events that I would like to develop.

  1. I would love to be informed with the current progress of the BinlogStream implementation.
  2. Do you envision rust-mysql-simple to cover the complete MySQL replication protocol specification? Or is the aim to provide a subset of features, focusing on specific use cases?

Understanding the direction and scope of the library would greatly assist me in potentially contributing to the project.

blackbeam commented 11 months ago

Hi.

At the moment rust-mysql-simple offers a basic way to request a binlog stream with no particular use case in mind (all the serialization/deserialization stuff is in rust_mysql_common).

I would love to be informed with the current progress of the BinlogStream implementation.

Streaming should work so it's hard to tell about the "proggress" of any kind. Please look into related issues to grasp the work done so far (here, here and here).

Do you envision rust-mysql-simple to cover the complete MySQL replication protocol specification? Or is the aim to provide a subset of features, focusing on specific use cases?

rust-mysql-simple (as well as mysql_async) are generic drivers so the first option matches better. Please note that replication protocol specs are implemented in rust_mysql_common.