Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Cost of Google Cloud PubSub when there are no messages

I was taking a look Pub/Sub pricing and I couldn't get what would be the price if the subscriber hit the endpoint but doesn't get any message. Because my idea is run a worker 24 hours.

like image 619
Agustin Castro Avatar asked Nov 23 '25 12:11

Agustin Castro


1 Answers

With the pricing model as of today, if your subscriber sends a Pull or StreamingPull request (either directly or through the client libraries), it will not incur a cost if no messages are returned. Billing for subscribers is based on the number of bytes in the messages sent to the subscribers per month.

like image 196
Kamal Aboul-Hosn Avatar answered Nov 25 '25 10:11

Kamal Aboul-Hosn



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!