问题
Looking at the boto docs, I don't see a method of fetching the message identifier when you pull it off of an SQS queue. Can anyone provide some information on how I would get this information?
回答1:
The Message
instance should have an attribute called id
which contains the message id.
来源:https://stackoverflow.com/questions/25435856/trying-to-get-sqs-message-id-with-boto