01 Β· Sources
Map the event producers
Six systems describe different parts of the marketplace.
02 Β· Contract
Standardize every event with shared metadata
An envelope is a common outer structure around each source-specific payload.
Shared envelope Β· same for every source
event_idevent_timeingestion_timeentity IDsevent_versiongeohash
Source-specific payload
location_ping | trip_matched | payment_captured | ...Why the shared envelope is necessary
Dedupe + ordersame rules for every producer
Measure delayevent time vs ingestion time
Join + evolvestable keys and versions
03 Β· Operating model
Volume and priority are different axes
A small stream can demand stronger handling than a large one.
Priority β / Volume βLowMediumHigh
Highest
Support + safety
Payments
Driver GPS
Standard
β
Maps + dispatch
Rider activity
04 Β· Population
Populate Bronze, Silver, and Gold
Raw device events enter Kafka, Flink enriches them, and trusted facts emerge in stages.
β
β
β
β
05 Β· Interview insight
Build one trustworthy trip from 5 producers
The same trip is described independently, and events can be late, duplicated, or out of order.