Skip to content
Gold 8 min read · Google Cloud 2 practice problems ↓

Streaming on Google Cloud

Pub/Sub, Dataflow (Apache Beam) and BigQuery, mapped to the Spark ideas: windows, watermarks, allowed lateness, triggers, exactly-once, dead letters and ordering.

Step 4 · Structured Streaming · Gold · Streaming beyond Spark, lesson 1 of 1

Read first: Watermarks and late data · Delivery guarantees end to end (skip if you know them)

In plain words first

When you drive in another country, the rules are mostly the same: stop at red, give way at roundabouts. What changes is the signs, the names, and sometimes the side of the road.

Streaming on Google Cloud is like that. Events still arrive late. Duplicates still happen. Windows still have to close at some point. You already know the ideas. You only need the new names and a few different defaults.

Unlock the full lesson

You have read the free part. The rest of this advanced lesson:

  • The three services
  • Spark ideas, Google Cloud names
  • Watermarks, lateness and triggers
  • Exactly-once, and when to give it up
  • Dead letters and ordering, the Dataflow way
  • Common mistakes
  • Key takeaways
  • Interview prep with 3 follow-up questions
  • Check yourself: 3 questions

Unlock it with the Complete pass (every advanced problem and lesson) or on its own.

Practise this

Interview problems on streaming, graded on hidden tests

Keep going

Last lesson of Structured Streaming
This is the last step of the journey. Back to the journey →

Related lessons

Previous: Kafka 4: KRaft, new rebalances and queues

Primary sources: Beam programming guide: windowing and triggers · Dataflow streaming modes · Exactly-once in Dataflow · Streaming with Pub/Sub in Dataflow · Pub/Sub message ordering · Pub/Sub exactly-once delivery · BigQuery subscriptions · Write from Dataflow to BigQuery