google-cloud-rust
google-cloud-rust copied to clipboard
Respect subscriber RPC request size limits
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).