In the rush toward real-time architectures, it’s easy to get mesmerized by speed or real-time— we obsess over low-latency pipelines, millisecond event streams, and near-instant updates.
- to deliver reliable, complete data that powers critical business decisions,
- to enable downstream systems to reconstruct the complete entity state at any point in time,
- and to ensure that every analytics report, ML model, or operational dashboard is built on solid, trustworthy ground.
But in that excitement, we sometimes overlook why we’re collecting this data in the first place. In the world of data, every click, every event, and every action tells a story. But as data engineers, we’re not just listening to these stories — we’re responsible for designing the pipelines that capture, shape, and deliver them reliably to downstream consumers like analytics, fraud detection, customer service, and personalization systems.
Therefore, the handshake between data producers and the data team becomes as crucial as the pipelines for building the story.
Producers must understand that they have equal responsibility for weaving the complete story together, not just dumping events downstream but also ensuring they are structured, meaningful, and aligned with the business narrative.
At the heart of this streaming architecture are event streams, and to make sense of them, two key ideas need to work in harmony:
- A Master Schema that unifies and stitches together the entire business entity.
- Clear agreements with data producers and data consumers on when to send Fact events and Delta events.

We will share practical examples, considering the e-commerce order flow as one example, and explain why these are important, along with some real-world lessons learned along the way.
When you think about e-commerce orders, it’s easy to imagine a simple flow:

But under the hood, dozens of micro-events fly around:

Orders, shipments, returns, exchanges, discounts applied, promotions triggered, partial refunds, you name it.
Without a shared playbook, chaos reigns.
That’s where a Master Schema comes in.
The Master Schema — Weaving the Complete Order Story Together
Imagine you’re putting together a giant jigsaw puzzle — except each piece arrives over time, in random order, and you’re responsible for ensuring the image still comes together.
That’s the role of the Master Schema in an event-driven architecture.
A Master Schema defines the canonical structure, fields, data types, and relationships for the entire domain — in this case, e-commerce orders. It gives the whole engineering ecosystem a single source of truth for:
Which fields exist (e.g.,order_id,order_status,payment_type,shipping_method).
What data types they are (string,timestamp,float, etc.).
Which fields apply to which event types (e.g.,original_order_idfor a return;shipment_tracking_numberfor a shipment;discount_codefor a promotion).
When you look at the typical order lifecycle in ecommerce or retail,

each step generates its own events. But no single event, on its own, gives you the whole picture. Master Schema gives you the full blueprint of the complete order entity.
For example:
- Common fields across all order events →
order_id,order_line_id,order_timestamp,order_site,customer_details - Fulfillment-specific fields →
warehouse_id,allocation_timestamp - Shipment-specific fields →
shipment_id,shipment_tracking_number,carrier - Returns-specific fields →
original_order_id,return_reason,refund_amount
This master schema creates the connective tissue between these events, allowing consumers to stitch the order narrative across its lifecycle—from when the customer clicks “Buy Now” to when their apparel lands at the doorstep (and sometimes, when they get sent back!).

How the Master Schema helps
1. Brings all attributes together → Combines data from multiple services (order service, payment service, shipping service, allocation service) into a single canonical view.
2. Improves data reliability → Enables downstream teams to query the complete order state at any time, without stitching raw events.
3. Simplifies consumer contracts → Downstream consumers (dashboards, data warehouse, ML models) always get a complete, consistent schema.
The master schema is like a shared map for everyone working with events. Without it, you’re lost in a forest of loosely structured messages.
Setting Expectations — Fact vs. Delta Events in the Order Lifecycle
Once we have a master schema, the next question becomes how producers will send events into the system:
- Do they send a full snapshot of the order each time something changes?
- Or do they just tell us what changed?
This is where the Fact vs. Delta event pattern comes in.
What’s a Fact Event?
A Fact event is a complete, self-contained snapshot of the entity’s state at a point in time.
1. It tells you what the world looks like right now for that entity.
2. It includes all relevant fields, even if they haven’t changed.
3. Consumers can process the event in isolation — no need to look at prior events to understand the current state.
For example, in an Order domain:
- Whenever an order is placed, allocated, shipped, delivered, or returned, the system emits the complete order payload → including items, prices, status, addresses, shipment details, return details, etc.
- Even if only one field changed (e.g., order_status), the event contains all other fields representing the latest state.

What’s a Delta Event?
A Delta event tells you only what changed since the last known state.
1. It’s lightweight — fewer fields, smaller payloads.
2. It highlights the intent or reason for change.
3. Consumers must maintain the local state to apply the change.
Delta event assumes the consumer already knows the prior state (Allocated) and will update its local state to reflect that the order has been shipped with a tracking number, as shown below.

Why This Matters to Data Producers and Consumers
As a data engineering team, our job is to help producers understand the tradeoffs:
- Fact events push the complexity to the producer → consumers get plug-and-play simplicity.
- Delta events push complexity to the consumer → but reduce producer workload and event size.
Producers must ask:
- Do downstream teams need the complete state or just the change?
- How frequently will this event be sent?
- Are we okay if consumers infer state from multiple deltas?
Consumers must ask:
- Do we want to build the state ourselves or rely on the producer?
- Are we prepared to handle schema evolution over time?
- Do we need to react to specific business actions (deltas) or just get the latest known state (facts)?
Recommended Approach for Data Engineering
What are the Implications for the Data Team ?
If you choose detailed (delta) events:
- You must reconstruct the complete order state by aggregating across events.
2. There needs to be robust logic to:
- Track the latest value for each attribute.
- Handle late-arriving or missing events.
- Maintain event sequence ordering (using timestamps or sequence numbers).
If you choose fact events:
- You just take the most recent event per order — no need to stitch together prior deltas.
2. But you lose visibility into what specifically changed unless you implement change detection (diffing old vs. new state).
Recommended Approach
There is only one crucial point against the fact that events lose intent: When you emit a fact, you’re basically saying, “Here is the state of the object right now,” but you do not communicate the business reason why the event change occurred.
To overcome this, I recommend adopting a hybrid approach, a composite event, incorporating the event type into the fact events.

Data Team Expectations from the Event Producer

Master Schema + Fact/Delta → A Connected Ecosystem
When the Master Schema and the Fact/Delta pattern come together, they create a coherent, resilient event streaming system:
- A master schema to unify the data model
- Clear Fact/Delta event contracts to optimize data flow
- Reliable, reusable event streams that power analytics, ML, personalization, and operations across the business
Getting this right isn’t just a technical challenge — it’s a collaboration challenge. It’s about sitting with product managers, backend engineers, and analysts to ensure we’re all aligned on:
- What story does the data need to tell?
- Who needs to hear it?
- And how we package that story for each event.
When we do this well, the result isn’t just better pipelines — it’s better customer experiences, more thoughtful decisions, and a business that moves at the speed of its data.
Reference: https://developer.confluent.io/courses/event-design/fact-vs-delta-events/
I hope you found it helpful! Thanks for reading!
Let’s connect on Linkedin!
Link to Blogs on various topics in Data Space
https://medium.com/@DataEnthusiast
Author
Himanshu Gaurav — www.linkedin.com/in/himanshugaurav21