#[repr(u8)]pub enum RuntimeStatus {
Unavailable = 0,
Coordination = 1,
Standby = 2,
Initializing = 3,
AwaitingApproval = 4,
Bootstrapping = 5,
Replaying = 6,
Paused = 7,
Running = 8,
Suspended = 9,
}Expand description
Runtime status of the pipeline.
Of the statuses, only Unavailable is determined by the runner. All other statuses are
determined by the pipeline and taken over by the runner.
Variants§
The runner was unable to determine the pipeline runtime status. This status is never returned by the pipeline endpoint itself, but only determined by the runner.
It can notably occur in two scenarios:
- The runner is unable to (in time) receive a response for its sent request to the
pipeline
/statusendpoint, or it is unable to parse the response. - The runner received back a
503 Service Unavailableas a response to the request. This can occur for example if the pipeline is unable to acquire a lock necessary to determine whether it is in any of the other runtime statuses.
Coordination = 1
The pipeline is waiting for initialization instructions from the coordinator.
Standby = 2
The pipeline is constantly pulling the latest checkpoint from S3 but not processing any inputs.
Initializing = 3
The input and output connectors are establishing connections to their data sources and sinks respectively.
AwaitingApproval = 4
The pipeline was modified since the last checkpoint. User approval is required before bootstrapping can proceed.
Bootstrapping = 5
The pipeline was modified since the last checkpoint, and is currently bootstrapping modified views.
Replaying = 6
Input records that were stored in the journal but were not yet processed, are being processed first.
Paused = 7
The input connectors are paused.
Running = 8
The input connectors are running.
Suspended = 9
The pipeline finished checkpointing and pausing.
Trait Implementations§
Source§impl Clone for RuntimeStatus
impl Clone for RuntimeStatus
Source§fn clone(&self) -> RuntimeStatus
fn clone(&self) -> RuntimeStatus
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for RuntimeStatus
impl Debug for RuntimeStatus
Source§impl<'de> Deserialize<'de> for RuntimeStatus
impl<'de> Deserialize<'de> for RuntimeStatus
Source§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>,
Source§impl From<RuntimeDesiredStatus> for RuntimeStatus
impl From<RuntimeDesiredStatus> for RuntimeStatus
Source§fn from(value: RuntimeDesiredStatus) -> Self
fn from(value: RuntimeDesiredStatus) -> Self
Source§impl PartialEq for RuntimeStatus
impl PartialEq for RuntimeStatus
Source§impl Serialize for RuntimeStatus
impl Serialize for RuntimeStatus
Source§impl<'__s> ToSchema<'__s> for RuntimeStatus
impl<'__s> ToSchema<'__s> for RuntimeStatus
impl Copy for RuntimeStatus
impl Eq for RuntimeStatus
impl NoUninit for RuntimeStatus
impl StructuralPartialEq for RuntimeStatus
Auto Trait Implementations§
impl Freeze for RuntimeStatus
impl RefUnwindSafe for RuntimeStatus
impl Send for RuntimeStatus
impl Sync for RuntimeStatus
impl Unpin for RuntimeStatus
impl UnwindSafe for RuntimeStatus
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.