Kafka is the tool used in this blog to demonstrate ingestion, buffering, and decoupled pipelines.

Use Docker so the setup is reproducible.

Workflow

  1. Start the stack with docker compose up.
  2. Create a topic.
  3. Produce a few messages.
  4. Consume and verify.

What to measure (for performance topics)

  • Throughput (messages/second).
  • Consumer lag.
  • End‑to‑end latency.