Guided Lab Brief

Encoding & Schema Evolution

Build a backward-compatible data contract flow using event streams and a schema control plane.

Overview

Build a backward-compatible data contract flow using event streams and a schema control plane.

Distributed systems fail when producers and consumers evolve independently without contract discipline.

You will build 6 architecture steps that model production dependencies.

You will run 1 failure experiment to observe bottlenecks and recovery behavior.

Success target: Versioned producers and consumers operate concurrently without breaking payload compatibility.

Learning Objectives

  • Can explain contract-first evolution with concrete components
  • Can defend retention and replay windows in interview tradeoffs
  • Can separate producer and consumer release cadence safely

Failure Modes to Trigger

  • Trigger: Cut event retention so consumers cannot replay safely

    Observe: Late or newly deployed consumers cannot recover old events, causing permanent data gaps.