Reputation: 17
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)
Steps to reproduce :
PUSH
and specify GAE endpoint's url.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
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