mysqlbinlog-network-1.0.1 has been yanked.
Visit the last successful build:
mysqlbinlog-network-1.0.9
mysqlbinglog_network
This create offers:
- Get MySql5.7+/8.0+ Binlog-Event From Mysql Instance
Features:
- macOS, Windows and Linux support;
- Mysql Gtid Support;
- mysql 5.7+/mysql 8.0+ Event Support;
Installation
Put the desired version of the crate into the dependencies
section of your Cargo.toml
:
[]
= "*"
Example
use ;
output:
e = Event
e = Event
e = Event
e = Event
e = Event
...
API Documentation
Please refer to the [crate docs].
Event
Event | support |
---|---|
Unknown | - [] |
StartEventV3 | - [x] |
QueryEvent | - [x] |
StopEvent | - [x] |
RotateEvent | - [x] |
IntvarEvent | - [] |
LoadEvent | - [] |
SlaveEvent | - [] |
CreateFileEvent | - [] |
AppendBlockEvent | - [] |
ExecLoadEvent | - [] |
DeleteFileEvent | - [] |
NewLoadEvent | - [] |
RandEvent | - [] |
UserVarEvent | - [] |
FormatDescriptionEvent | - [x] |
XidEvent | - [x] |
BeginLoadQueryEvent | - [x] |
ExecuteLoadQueryEvent | - [x] |
TableMapEvent | - [x] |
PreGaWriteRowsEvent | - [] |
PreGaUpdateRowsEvent | - [] |
PreGaDeleteRowsEvent | - [] |
WriteRowsEventV1 | - [x] |
UpdateRowsEventV1 | - [x] |
DeleteRowsEventV1 | - [x] |
IncidentEvent | - [] |
HeartbeatLogEvent | - [x] |
IgnorableLogEvent | - [] |
RowsQueryLogEvent | - [x] |
WriteRowsEventV2 | - [x] |
UpdateRowsEventV2 | - [x] |
DeleteRowsEventV2 | - [x] |
GtidLogEvent | - [x] |
AnonymousGtidLogEvent | - [] |
PreviousGtidsLogEvent | - [] |
OtherUnknown(u8) | - [] |
Not support Means Event Will Not Parse!But Event Header Will Can Tell It!
License
Licensed under either of
- Apache License, Version 2.0, (LICENSE-APACHE or https://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or https://opensource.org/licenses/MIT)
Thanks
- crate mysql-20.1.0
- crate mysql_binlog-0.3.1
Contribution
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.