Stream Processing Architecture: Kafka Streams vs Flink vs Spark

A decision framework for choosing a stream processor on latency, state, guarantees, ops cost, and team fit.

A decision framework, not a tool tour — weigh latency, state size, delivery guarantees, operational cost, and team fit to choose between Kafka Streams, Flink, and Spark Structured Streaming, then model the cost of a real streaming workload.

Advanced9 chapters· 3h 10m· in Ingestion & Transport

Course content

  1. 01The Decision You're Actually MakingFree
  2. 02Latency: What Each Engine Can and Can't Promise🔒
  3. 03State: Size, Access Patterns, and Cost🔒
  4. 04Delivery Semantics & Correctness Guarantees🔒
  5. 05Operational Cost & Team Fit🔒
  6. 06Kafka Streams vs Flink vs Spark Structured Streaming: A Scorecard🔒
  7. 07Hybrid & Migration Architectures🔒
  8. 08Cost Modeling a Streaming Workload🔒
  9. 09Capstone: Choose the Engine for Three TheWorldShop Scenarios🔒

Prerequisites

What to learn next

Read the first chapter free

Start reading now — no account required for the free chapters.