pub struct ConnectorStatus {
pub name: String,
pub connector_type: String,
pub kind: String,
pub state: String,
pub status_source: String,
pub last_probed: Option<String>,
pub events_processed: i64,
pub last_error: Option<String>,
pub last_success_time: Option<String>,
}Expand description
Status of an individual connector
Limitation: When status_source is "synthetic", this status is
inferred from the CRD spec (enabled flag) and Deployment readiness,
not queried from the actual running connector instance. Fields like
events_processed are always zero and state reflects the desired
state rather than the observed runtime state. A connector reported as
“running” may still be initializing, failing internally, or experiencing
backpressure. Check status_source and last_probed to determine
whether the status reflects real health. To get true runtime health,
query the Connect worker’s health/metrics endpoint directly.
Fields§
§name: StringConnector name
connector_type: StringConnector type (source or sink)
kind: StringConnector kind (postgres-cdc, stdout, etc.)
state: StringCurrent state (running, stopped, failed, disabled, pending)
status_source: StringOrigin of this status: "synthetic" (inferred from spec/deployment)
or "observed" (probed from the running connector). Consumers should
treat synthetic statuses as best-effort approximations.
last_probed: Option<String>ISO 8601 timestamp of the last time the connector was actually probed
for health. None means no probe has been performed (status is purely
synthetic).
events_processed: i64Number of events processed
last_error: Option<String>Last error message
last_success_time: Option<String>Last successful operation time
Trait Implementations§
Source§impl Clone for ConnectorStatus
impl Clone for ConnectorStatus
Source§fn clone(&self) -> ConnectorStatus
fn clone(&self) -> ConnectorStatus
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for ConnectorStatus
impl Debug for ConnectorStatus
Source§impl<'de> Deserialize<'de> for ConnectorStatus
impl<'de> Deserialize<'de> for ConnectorStatus
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 JsonSchema for ConnectorStatus
impl JsonSchema for ConnectorStatus
Source§fn schema_name() -> String
fn schema_name() -> String
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
$ref keyword. Read moreAuto Trait Implementations§
impl Freeze for ConnectorStatus
impl RefUnwindSafe for ConnectorStatus
impl Send for ConnectorStatus
impl Sync for ConnectorStatus
impl Unpin for ConnectorStatus
impl UnsafeUnpin for ConnectorStatus
impl UnwindSafe for ConnectorStatus
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<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