Module mz_storage::render::sources
source ยท Expand description
Logic related to the creation of dataflow sources.
See render_source
for more details.
Structsยง
- KV ๐After handling metadata insertion, we split streams into key/value parts for convenience
Functionsยง
- Convert from streams of
DecodeResult
to Rows, inserting the Key according toKeyEnvelope
- Handle possibly missing key or value portions of messages
- Renders complete differential
Collection
s that represent the final source and its errors as requested by the originalCREATE SOURCE
statement, encapsulated in the passedSourceInstanceDesc
. - render_
source_ ๐stream Completes the rendering of a particular source stream by applying decoding and envelope processing as necessary - split_
ok_ ๐err - upsert_
commands ๐Convert from streams ofDecodeResult
to UpsertCommands, inserting the Key according toKeyEnvelope
Type Aliasesยง
- Output
Index ๐The output index for health streams, used to handle multiplexed streams