Skip to content

Unary pull subscribers ack ID batches can exceed Acknowledge size limit #344

Description

@matt-kwong

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.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions