Expand description
The dependency-injected I/O that the runtime needs: it fetches source records, produces sink records, and commits and fetches offsets.
The real broker implementations live in io_broker.rs. Fakes in the tests
make StreamTask and StreamThread testable and deterministic without a
broker.
Structs§
- Fetch
Batch - A batch of consecutive records from one partition.
- Fetched
Rec - A fetched source record. The timestamp is
-1when the fetcher cannot supply it.
Enums§
- Isolation
Level - Fetch isolation level, the Kafka
Fetch.isolation_level.
Traits§
- Begin
TxnGate - The lazy begin-the-transaction gate passed to the stream task’s
process_onceoperation under EOS-v2. - Offset
Store - Record
Fetcher - Record
Producer