Expand description
Message chunking for payloads that exceed maximum-frame-size.
Per-PDU length-prefix split. Senders that produce payloads larger than
chunk_size use Chunker::split to fragment into ordered chunks;
receivers feed each chunk to Reassembler::push until
Some(Vec<u8>) comes back.
The wire envelope around chunks is a tiny (message_id, chunk_idx, total_chunks, payload) tuple. The remote codec wraps chunks in
AkkaPdu::Payload like any other message.
Structs§
- Chunk
- One fragment produced by
Chunker::split. - Chunker
- Sender-side: split large payloads into ordered fragments.
- Reassembler
- Receiver-side: collect chunks for the same
message_iduntil the full set arrives, then return the reassembled payload.