Struct dataflow::render::debezium::DebeziumDeduplicationState[][src]

struct DebeziumDeduplicationState {
    last_position_and_offset: Option<(RowCoordinates, Option<i64>)>,
    full: Option<TrackFull>,
    messages_processed: u64,
    filenames_to_indices: HashMap<String, i64>,
    projection: DebeziumDedupProjection,
}
Expand description

Track whether or not we should skip a specific debezium message

The goal of deduplication is to omit sending true duplicates – the exact same record being sent into materialize twice. That means that we create one deduplicator per timely worker and use use timely key sharding normally. But it also means that no single deduplicator knows the highest-ever seen binlog offset.

Fields

last_position_and_offset: Option<(RowCoordinates, Option<i64>)>

Last recorded binlog position and connector offset

DebeziumEnvelope determines whether messages that are not ahead of the last recorded position will be skipped.

full: Option<TrackFull>

Whether or not to track every message we’ve ever seen

messages_processed: u64filenames_to_indices: HashMap<String, i64>projection: DebeziumDedupProjection

Implementations

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

Should always be Self

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

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