Re-exportsยง
pub use parquet_parser::ParquetParser;
Modulesยง
- avro ๐
- bytes_
parser ๐ - canal ๐
- common ๐
- csv_
parser ๐ - debezium ๐
- json_
parser ๐ - maxwell ๐
- mysql ๐
- postgres ๐
- protobuf ๐
- sql_
server ๐ - unified ๐Unified parsers for both normal events or CDC events of multiple message formats
- upsert_
parser ๐ - util ๐
Structsยง
- The meta data of the original message for a row writer.
- OpAction
Delete ๐ - OpAction
Insert ๐ - OpAction
Update ๐ - Note: this is created in
SourceReader::build_stream
- A builder for building a
StreamChunk
fromSourceColumnDesc
. SourceStreamChunkRowWriter
is responsible to write one or more records to theStreamChunk
, where each contains either one row (Insert/Delete) or two rows (Update) that can be written atomically.
Enumsยง
- The entrypoint of parsing. It parses
SourceMessage
stream (byte stream) intoStreamChunk
stream. Used bycrate::source::into_chunk_stream
. - The result of parsing a message.
- WIP: may cover protobuf and json schema later.
- Transaction control message. Currently only used by Debezium messages.
Constantsยง
- Maximum number of rows in a transaction. If a transaction is larger than this, it will be force committed to avoid potential OOM.
Traitsยง
- Access to a field in the data structure. Created by
AccessBuilder
. - Parses raw bytes into a specific format (avro, json, protobuf, โฆ), and then builds an
Access
from the parsed data. ByteStreamSourceParser
is the entrypoint abstraction for parsing messages. It consumes bytes of one individual message and produces parsed records.- OpAction ๐
Functionsยง
- The decoding result can be interpreted as follows: Ok(value) => The value was found and successfully decoded. Err(error) => The value was found but could not be decoded, either because it was not supported, or there was an error during conversion.