Expand description
MySQL binlog event decoder.
Wraps the mysql_cdc crate’s binlog events into our internal
BinlogMessage types for unified CDC processing.
Structs§
- Begin
Message - Transaction begin message (from GTID event).
- Binlog
Position - Position in the MySQL binlog.
- Commit
Message - Transaction commit message (from XID event).
- Delete
Message - Row delete message.
- Insert
Message - Row insert message.
- Query
Message - Query event (typically DDL).
- Rotate
Message - Rotate event (binlog file change).
- RowData
- Row data containing column values.
- Table
MapMessage - Table map message (schema definition for row events).
- Update
Message - Row update message.
- Update
RowData - Update row data with before and after images.
Enums§
- Binlog
Message - A decoded binlog message from MySQL replication.
- Column
Value - A single column value.
- Decoder
Error - Decoder errors.
Functions§
- mysql_
timestamp_ to_ unix_ ms - Decodes a timestamp from MySQL epoch to Unix milliseconds.