Crates.io | mysql_binlog |
lib.rs | mysql_binlog |
version | 0.4.0 |
source | src |
created_at | 2019-02-16 00:02:53.405321 |
updated_at | 2022-08-22 23:52:54.466064 |
description | Parser for the MySQL binlog format |
homepage | https://github.com/EasyPost/rust-mysql-binlog |
repository | https://github.com/EasyPost/rust-mysql-binlog |
max_upload_size | |
id | 115058 |
size | 89,651 |
mysql_binlog
is a clean, idomatic Rust implementation of a MySQL binlog parser, including support for the JSONB type introduced in MySQL 5.7.
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.