File tree Expand file tree Collapse file tree
proto/google/events/cloud/pubsub/v1 Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -31,6 +31,18 @@ message MessagePublishedData {
3131 // generated. The format of the value is
3232 // `projects/{project-id}/subscriptions/{subscription-id}`.
3333 string subscription = 2 ;
34+
35+ // The approximate number of times that Pub/Sub has attempted to deliver
36+ // the associated message to a subscriber.
37+ //
38+ // More precisely, this is 1 + (number of NACKs) +
39+ // (number of ack_deadline exceeds) for this message.
40+ //
41+ // Upon the first delivery of a given message, `delivery_attempt` will have a
42+ // value of 1. The value is calculated at best effort and is approximate.
43+ //
44+ // If a DeadLetterPolicy is not set on the subscription, this will be 0.
45+ int32 delivery_attempt = 3 ;
3446}
3547
3648// A message published to a topic.
You can’t perform that action at this time.
0 commit comments