Shinya Yaginuma
Shinya Yaginuma

Reputation: 17

Push subscription send multiple message much earlier than message acknowledgment deadline

I set the Pubsub notification for GCS. (https://cloud.google.com/storage/docs/pubsub-notifications) And I set the Pubsub subscription to push message to GAE endpoint. With setting the message acknowledgment deadline to 90s. But when I try to create object in specified bucket, the pubsub sent multiple messages very rapidly.(see attachment)

Stack driver logging view

Steps to reproduce :

At first it happened with a high probability but no longer occur when the number of tries over the 10 times.

Upvotes: 0

Views: 653

Answers (1)

Fahad Abid
Fahad Abid

Reputation: 1092

Cloud Pub/Sub dynamically adjusts the rate of push requests based on the rate at which it receives success responses.

This means that as long as it doesn't receive an acknowledge from the subscriber, it may re-try to send the message.

Upvotes: 2

Related Questions