Struct dataflow_types::types::PersistStreamDesc [−][src]
Expand description
Description of a single persistent stream.
Fields
name: String
Name of the persistent stream.
upper_seal_ts: u64
The current upper seal timestamp of this stream.
NOTE: This timestamp is determined when the coordinator starts up or when the source is initially created. When a source is actively writing to this stream, the seal timestamp will progress beyond this timestamp.
This is okay for now because we only want to allow one source instantiation for persistent sources, meaning the flow is usually this:
- coordinator determines seal timestamp
- seal timestamps for a source are sent to dataflow when rendering a source
- coordinator (or anyone) never looks at this timestamp again.
And when we restart, we start from step 1., at which time we are guaranteed not to have a source running already.
since_ts: u64
The current compaction frontier (aka since) of this stream.
NOTE: This timestamp is determined when the coordinator starts up or when the source is initially created. When a source is actively writing to this stream and allowing compaction, this will progress beyond this timestamp.
This is okay for now because we only want to allow one source instantiation for persistent sources, meaning the flow is usually this:
- coordinator determines since timestamp
- timestamps for a source are sent to dataflow when rendering a source
- coordinator (or anyone) never looks at this timestamp again.
And when we restart, we start from step 1., at which time we are guaranteed not to have a source running already.
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for PersistStreamDesc
impl Send for PersistStreamDesc
impl Sync for PersistStreamDesc
impl Unpin for PersistStreamDesc
impl UnwindSafe for PersistStreamDesc
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more