I'm excited to share some of my recent discoveries on Cloud Run that I think many of you will find game-changing! In my opinion, there has been a gap in the serverless offerings that required running PubSub Pull Consumers on GKE - until now. With the introduction of Cloud Run Jobs, it's now possible to create real-time PubSub Pull subscribers with minimal engineering effort. This is a significant step forward and offers a fantastic alternative to running consumers on GKE. I can't wait to see the impact this will have and the exciting new possibilities it opens up!
00:30 - Topics to cover today
01:12 - Different ways to build a PubSub message consumer
02:10 - Why I think this isn't good enough
05:41 - PubSub Pull Consumer via a Cloud Run Job
07:02 - What do we want to achieve with this solution?
08:32 - Design Step 1, Build and Deploy the Cloud Run Job
09:28 - Design Step 2, Trigger Cloud Run Executions
10:44 - Design Step 3, Autoscaler
15:12 - Design, All together
17:14 - Code walkthrough
23:12 - Demo
30:26 - Summary
Additional reading
- Code: https://github.com/rocketechgroup/cloud-run-pubsub-consumer
- Slide: https://docs.google.com/presentation/d/117UQmkcX_8D4oUd4FX2YADi-2_-I1LZ2ySUNFICN1uo/edit?usp=sharing&resourcekey=0-lyGTayN2vi5AKzxTB6yKwg