Very good blog to read about the life cycle of messages in SQS

http://pragmaticnotes.com/2017/12/19/lifecycle-of-a-message-in-amazon-sqs-a-detailed-coverage/#:~:text=In%20most%20cases%2C%20multiple%20consumers,a%20large%20number%20of%20messages.&text=There%20is%20no%20concept%20of,visibility%20timeout%20provided%20by%20SQS.

Important points:

  1. Delivery of Messages can be delayed
  2. Messages have an expiry
  3. Dead letter queues if unable to process a message. Unable to process is identified by number of retries to read a message.
  4. Once a message is being read by a consumer, this message shouldn’t be processed by another service at the same time. So when a message is being read, you can configure SQS so that same message wont be read by multiple consumers. This concept is called as Visibility Timeout.

Suffering from Knowledge Quest

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store