internalsGet Pro

Module 10 · Lesson 9 of 13Pro

Stream joins and enrichment

Level
Advanced
Topic
Stream processing with Flink
Reading time
18 min

When you finish this page you can

  1. Explain why a plain join on two streams keeps both inputs in state forever, and size that state for a real topic.
  2. Write an interval join that matches add-to-carts with orders placed within 30 minutes, and say how long each side stays in state.
  3. Enrich clicks with the product category valid at the click’s time using an event-time temporal join on a CDC topic.
  4. Choose between a temporal join and a lookup join from what each keeps, what it loads and which answer it gives on a replay.

Builds on 3 lessons

Start with lesson 417 min
  1. Watermarks: deciding when late events stop counting17 min
  2. Stateful stream processing and state backends18 min
  3. Flink SQL: streaming with SQL17 min

A dashboard that knows product 4410217, but not “Phones”

is an online store in India. Its apps send about 200 million click events a day to Kafka. Meera, a data engineer on Kartly’s data team, runs the job live-dashboard, which counts product views and add-to-carts per product in 10-second windows for the festival dashboard.

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