Skip to content

Rust implementation of the MySQL binlog format

License

Notifications You must be signed in to change notification settings

frontapp/rust-mysql-binlog

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mysql_binlog is a clean, idomatic Rust implementation of a MySQL binlog parser, including support for the JSONB type introduced in MySQL 5.7.

CI crates.io docs

Its primary purpose is handling row-based logging messages, but it has rudimentary support for older statement-based replication. It's been tested against Percona XtraDB (MySQL) 5.6 and 5.7.

This library seeks to be competitive with mysqlbinlog at time-to-parse a full binlog file, and is already several orders of magnitude faster than go-mysql, python-mysql-replication, or Ruby's mysql_binlog. All interesting datatypes are serializable using Serde, so it's easy to hook into other data processing flows.

About

Rust implementation of the MySQL binlog format

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Rust 100.0%