Skip to content

PubSub: add ack_id property accessor to subscriber Message class #5691

@dmayo3

Description

@dmayo3

Version: google-cloud-pubsub 0.35.4

This is a feature request to add a property accessor for ack_id in google.cloud.pubsub_v1.subscriber.message.Message.

Currently the _ack_id field is 'private', and only gets used via the ack() method (plus other related methods).

We find it useful to log the ack ID so that we can manually ack the ID using the Google Cloud SDK (gcloud command line interface). This helps us get out of situations where the message is stuck in a (virtually) infinite retry loop because of some error.

We can just access the 'private' field, but it doesn't seem very nice to have to do that.

Metadata

Metadata

Assignees

Labels

api: pubsubIssues related to the Pub/Sub API.priority: p2Moderately-important priority. Fix may not be included in next release.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions