Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How re-deploy Cloud Functions affect event queue

It takes several minutes to re-deploy Cloud Functions. What happens to the events triggered during deployment? Are they queued somewhere and to be processed after deployment, or completely lost?

like image 539
Yuan Gao Avatar asked May 03 '26 14:05

Yuan Gao


1 Answers

Events should be queued. Behind the scenes, Cloud Functions uses a pubsub queue to deliver events generated by various event providers. It's intended that this queue is not lost when a function is redeployed.

Currently, however, Cloud Functions is in beta and there are no guarantees about availability.

like image 111
Doug Stevenson Avatar answered May 07 '26 10:05

Doug Stevenson