Expand description
Timely operators for the crate
Structs§
- Data
Subscribe - A helper for subscribing to a data shard using the timely operators.
- Data
Subscribe Task - A handle to a DataSubscribe running in a task.
- Txns
Context - The process global
TxnsReadthat any operator can communicate with. - Txns
Progress - A subscription to one data shard’s remap information, from which any number of streams read off that shard can have their frontiers translated.
Enums§
- Source
Event 🔒 - Event sent from the subscribe Tokio task to the sync
txns_progress_sourceoperator. The task owns the persist resources and thedata_subscribereceiver. The operator owns the output capability and drives the frontier.
Constants§
Functions§
- txns_
data_ shard_ retry_ params - Retry configuration for txn-wal data shard override of
next_listen_batch. - txns_
progress - An operator for translating physical data shard frontiers into logical ones.
- txns_
progress_ 🔒source_ global - TODO: I’d much prefer the communication protocol between the two operators
to be exactly remap as defined in the reclocking design doc. However, we
can’t quite recover exactly the information necessary to construct that at
the moment. Seems worth doing, but in the meantime, intentionally make this
look fairly different (
StreamofDataRemapEntryinstead ofCollection<FromTime>) to hopefully minimize confusion. As a performance optimization, we only re-emit this when the physical upper has changed, which means that the frontier of theStream<DataRemapEntry<T>>indicates updates to the logical_upper of the most recentDataRemapEntry(i.e. the one with the largest physical_upper).