Message acknowledgment
Whether using push subscriptions or pull subscriptions, subscribers are responsible for informing Cloud Pub/Sub that a message has been received and should be removed from the queue. For pull subscriptions, this takes the form of explicitly acknowledging messages via ack IDs. For push subscriptions, this takes the form of HTTP response status codes.
In addition to push/pull configuration, each subscription is configured with an ack deadline. The ack deadline specifies the maximum number of seconds a subscriber has to acknowledge message delivery before that message is made available for redelivery. Acknowledging a message after the ack deadline has passed will have no effect on message redelivery.
By default, subscriptions ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access