-
Notifications
You must be signed in to change notification settings - Fork 1.5k
pubsub: allow message to modify ack_deadline #1147
Copy link
Copy link
Closed
Labels
api: pubsubIssues related to the Pub/Sub API.Issues related to the Pub/Sub API.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.‘Nice-to-have’ improvement, new feature or different behavior or design.
Description
The ruby lib has a very useful feature, that I'd like to see on the golang lib. A received message can modify their own ack_deadline: https://github.com/GoogleCloudPlatform/google-cloud-ruby/blob/master/google-cloud-pubsub/lib/google/cloud/pubsub/received_message.rb#L159
The go version only allow a call for Ack/Nack: https://github.com/GoogleCloudPlatform/google-cloud-go/blob/master/pubsub/message.go
Does it make sense? This is something I'm willing to send a PR if you agree.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
api: pubsubIssues related to the Pub/Sub API.Issues related to the Pub/Sub API.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.‘Nice-to-have’ improvement, new feature or different behavior or design.