AckBatchingSubscriber periodically flushes pending ack IDs in a single AcknowledgeRequest, which can exceed the 512 KB size limit for Acknowledge RPCs. This code is here.
To avoid Acknowledge RPCs failing due to exceeding the size limit, we should split large batches of ack IDs into multiple Acknowledge RPCs. One way to fix this is adopting the Cloud Pub/Sub client library behavior of including at most 100 ack IDs per Acknowledge RPC.
AckBatchingSubscriber periodically flushes pending ack IDs in a single AcknowledgeRequest, which can exceed the 512 KB size limit for Acknowledge RPCs. This code is here.
To avoid Acknowledge RPCs failing due to exceeding the size limit, we should split large batches of ack IDs into multiple Acknowledge RPCs. One way to fix this is adopting the Cloud Pub/Sub client library behavior of including at most 100 ack IDs per Acknowledge RPC.