Skip to content

Pubsub - Set timeout on ack method #1979

@askmon

Description

@askmon

Environment details

  • OS: Ubuntu 14.04
  • Node.js version: 4.4.2
  • npm version: 2.15.9
  • google-cloud-node version: 0.46.2

For some reason, this past week, I started to see that some of my messages were not being acked/delivered, and I have to wait for the ack deadline, as in this image:
image

I tried updating pubsub but wasn't successful.

I'd like to be able to set a timeout on ack request, so after some time it'd give me an error and I'd be able to retry the ack.

I found this on stackoverflow: http://stackoverflow.com/questions/41901108/acked-messages-are-lingering-at-the-google-pubsub it's very similar to what happens to me, but I don't know how I'd change the grpc behavior like this....

Metadata

Metadata

Labels

api: pubsubIssues related to the Pub/Sub API.priority: p2Moderately-important priority. Fix may not be included in next release.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions