Data FlowData Flow
DataFlow
  • User Manual
  • Developer Manual
  • Examples
  • API Reference
Overview
Sources
Destinations
Transforms
Builds
ExamplesTransformsConfigGap Fill

Config Gap Fill Stream Stateful Backfill

gap fill — streaming datetime sequence with backfill (late-data correction) and JDBC upsert sink

Sub-category
steps
Step
gap_fill
External dependency
true [kafka, postgres]
Procedure
publish data/inputs/sample-data/kafka/stateful_stream/gap_fill/backfill_messages.ndjson to

topic bl-gap-fill-backfill gradually, pausing after the first 8 lines. Those are in-order per well (w1 08:00/09:00, w2 08:00/10:30, w3 09:30/11:00, w4 10:00/12:00). The remaining lines are OLD readings inside each well's gap (w1 08:30, w2 09:00, w3 10:00, w4 11:00), plus w1 10:00 which extends that well. The step re-emits each late real and every gap slot after it until the next real; the upsert sink overwrites those rows in place.

Field reference for Gap Fill