Skip to main content
All of the catalog
Scenario

Event-Driven Architecture

A producer/consumer flow through Kafka (Strimzi): an 'orders' topic with a continuous producer and a consumer group. Stage 2 ramps producers to build consumer lag — observe it, then scale consumers (manually or with KEDA's Kafka scaler) to drain it.

DataVerifiedk3dkind
Definition on GitHub

What you'll do

  • Run a producer/consumer event flow through a Kafka topic
  • Create consumer lag by ramping producers past consumer throughput
  • Drain the lag by scaling consumers (manually or via KEDA's Kafka lag scaler)

Stages

  1. 1event-flow

    Create the topic and run one producer + one consumer

    orders-topicproducer-consumerkafka-metricskafka-lag-dashboard
  2. 2build-lag

    Ramp producers to 3x so the single consumer falls behind

    ramp-producers

Prerequisites

These are installed into the lab cluster for you — listed so you know what the scenario actually depends on.

data/kafkamonitoring/metricsmonitoring/grafanago-api

The incident field notes

One real Kubernetes failure a week — the symptom, the commands that found it, and the fix. Written from actual lab runs, not from memory.

Signups aren't open yet — set NEXT_PUBLIC_NEWSLETTER_ENDPOINT to the Kit form endpoint to switch this on.

You'll get the Kubernetes Incident Response Field Guide, plus occasional emails about new scenarios, posts and paid offerings such as courses and workshops. Unsubscribe any time.