pub struct ExternalInputEndpointStatus {
pub endpoint_name: String,
pub config: ShortEndpointConfig,
pub metrics: ExternalInputEndpointMetrics,
pub fatal_error: Option<String>,
pub parse_errors: Option<Vec<ConnectorError>>,
pub transport_errors: Option<Vec<ConnectorError>>,
pub health: Option<ConnectorHealth>,
pub paused: bool,
pub barrier: bool,
pub completed_frontier: Option<CompletedWatermark>,
pub circuit_input_frontier: Option<CircuitInputWatermark>,
}Expand description
Input endpoint status information.
Fields§
§endpoint_name: StringEndpoint name.
config: ShortEndpointConfigEndpoint configuration.
metrics: ExternalInputEndpointMetricsPerformance metrics.
fatal_error: Option<String>The first fatal error that occurred at the endpoint.
parse_errors: Option<Vec<ConnectorError>>Recent parse errors on this endpoint.
transport_errors: Option<Vec<ConnectorError>>Recent transport errors on this endpoint.
health: Option<ConnectorHealth>Health status of the connector.
paused: boolEndpoint has been paused by the user. A distributed connector in a multihost pipeline is paused only if it is paused on every host.
barrier: boolEndpoint is currently a barrier to checkpointing and suspend.
completed_frontier: Option<CompletedWatermark>The latest completed watermark.
circuit_input_frontier: Option<CircuitInputWatermark>The latest watermark that the circuit has taken in.
It moves during a transaction too, while completed_frontier waits for
the commit.
Implementations§
Source§impl ExternalInputEndpointStatus
impl ExternalInputEndpointStatus
Sourcepub fn merge(&mut self, other: Self, frontier_merge: FrontierMerge)
pub fn merge(&mut self, other: Self, frontier_merge: FrontierMerge)
Combines this status with other, which another host reports for its
part of the same distributed connector, into the status of the
connector as a whole.
The combined connector is healthy, at end of input, paused, or free of a fatal error only if every part is. It is a barrier if any part is.
Its completed frontier is the oldest one among the hosts that are not at end of input, because input after that point is not complete on that host. A host that is not at end of input and has completed no input yet gives no frontier. Hosts at end of input do not hold back the frontier; if every host is at end of input, the frontier is the newest one. Its circuit input frontier combines in the same way.
frontier_merge says how to combine the frontiers’ metadata.
Trait Implementations§
Source§impl Debug for ExternalInputEndpointStatus
impl Debug for ExternalInputEndpointStatus
Source§impl<'de> Deserialize<'de> for ExternalInputEndpointStatus
impl<'de> Deserialize<'de> for ExternalInputEndpointStatus
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>,
Auto Trait Implementations§
impl Forget for ExternalInputEndpointStatus
impl Freeze for ExternalInputEndpointStatus
impl Move for ExternalInputEndpointStatus
impl RefUnwindSafe for ExternalInputEndpointStatus
impl Send for ExternalInputEndpointStatus
impl Sync for ExternalInputEndpointStatus
impl Unpin for ExternalInputEndpointStatus
impl UnsafeUnpin for ExternalInputEndpointStatus
impl UnwindSafe for ExternalInputEndpointStatus
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
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more