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.
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_idfield is 'private', and only gets used via theack()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 (
gcloudcommand 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.