pub struct LineageConfig {
pub kind: LineageKind,
pub namespace: String,
pub transport: Transport,
pub job_name: String,
pub parent_job: Option<ParentJob>,
pub include_column_lineage: bool,
pub include_schema_facet: bool,
pub include_source_code_facet: bool,
pub emit_on: EmitOn,
pub sample_records: usize,
pub heartbeat_interval: Duration,
}Expand description
Top-level lineage: block.
Fields§
§kind: LineageKindLineage format. Only openlineage in v1.
namespace: StringOpenLineage namespace for the emitted job/datasets.
transport: TransportWhere events are sent.
job_name: StringJob-name template. ${name} / ${row_id} / ${now.*} are resolved
per matrix row at run time.
parent_job: Option<ParentJob>Optional parent job (orchestrator linkage).
include_column_lineage: boolEmit column-level lineage facets where the transform chain is mappable.
include_schema_facet: boolEmit dataset schema facets (inferred from a record sample).
include_source_code_facet: boolEmit the resolved config body as a SourceCode facet. Off by default — the resolved config may contain secrets; enabling warns.
emit_on: EmitOnWhich lifecycle events to emit.
sample_records: usizeMax records sampled for schema/column facets. Default 100.
heartbeat_interval: DurationRUNNING heartbeat interval. Default 30s; only used when emit_on.running.
Trait Implementations§
Source§impl Clone for LineageConfig
impl Clone for LineageConfig
Source§fn clone(&self) -> LineageConfig
fn clone(&self) -> LineageConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for LineageConfig
impl Debug for LineageConfig
Source§impl<'de> Deserialize<'de> for LineageConfig
impl<'de> Deserialize<'de> for LineageConfig
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>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl JsonSchema for LineageConfig
impl JsonSchema for LineageConfig
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreAuto Trait Implementations§
impl Freeze for LineageConfig
impl RefUnwindSafe for LineageConfig
impl Send for LineageConfig
impl Sync for LineageConfig
impl Unpin for LineageConfig
impl UnsafeUnpin for LineageConfig
impl UnwindSafe for LineageConfig
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
Mutably borrows from an owned value. Read more