google-cloud-rust icon indicating copy to clipboard operation
google-cloud-rust copied to clipboard

Respect subscriber RPC request size limits

Open dbolduc opened this issue 1 month ago • 0 comments

There is a size limit on requests for the Acknowledge and ModifyAckDeadline RPCs.

https://cloud.google.com/pubsub/quotas#resource_limits

We need to at least make sure that when we send these RPCs they are within the size limit. (This may look like breaking up a batch into multiple requests).

We should also consider flushing acks/nacks as soon as an RPC is full (instead of only on a timer).

dbolduc avatar Dec 03 '25 04:12 dbolduc