internalsGet Pro

Module 09 · Lesson 14 of 14Pro

Design: a clickstream pipeline for an online store

Level
Intermediate
Topic
Event streaming with Kafka
Reading time
28 min

When you finish this page you can

  1. Turn click volume and each reader’s freshness budget into the numbers that size the topic, the collector and the S3 sink.
  2. Trace every setting of Kartly’s clickstream pipeline to the requirement it serves and the lesson that chose it.
  3. Choose a path and a delivery guarantee for each reader, and decide when a day of clicks is complete for the nightly jobs.
  4. Walk through four failures and say what each costs, who notices and how the pipeline recovers.

Builds on 6 lessons

Start with lesson 317 min
  1. Kafka producers: keys, batching and acknowledgements17 min
  2. Kafka consumers: groups, commits and rebalancing17 min
  3. Delivery guarantees in Kafka pipelines18 min
  4. Event schemas and the schema registry17 min
  5. Kafka Connect: moving data in and out18 min
  6. Operating Kafka: lag, scaling and broker failures18 min

A 24-minute lag that cost nothing

is an online store in India. Its apps record every product view, search and add-to-cart: about 200 million a day. Meera, a data engineer, moves those clicks from the apps into Kafka and on to the lake in S3, where the nightly Spark jobs read them.

Our biggest sale ever · Black Friday

Flat 50% Off

Pro

Continue reading

Unlock every course, now and later

  • System Design, live
  • AI Engineering, live
  • Data Engineering, live
  • Machine Learning Engineering, live
  • Inference Engineering, coming soon
  • AI Research, coming soon
  • Performance Engineering, coming soon
  • Agent & Harness Engineering, coming soon
  • LLM Fine-tuning, coming soon
  • LLM Pre-training & Post-training, coming soon
  • Reinforcement Learning, coming soon
  • AI Infrastructure & Platform Engineering, coming soon
  • AI Evaluation & Safety, coming soon
  • Forward Deployed Engineering, coming soon
  • Cloud Computing, coming soon
  • DevOps, coming soon

50% off · Annual and Lifetime

BLACKFRIDAY50Applied at checkout

Choose a plan