Search code examples
amazon-web-servicesamazon-sqsrate-limitingsqslistener

How to consume messages from a queue


I have a scenario wherein I am supposed to consume messages from an AWS SQS.

I know @SqsListener can be used or something like that?

Thanks


Solution

  • is there a feature that AWS provides to rate-limit the consumption from SQS

    The short & long answer is no.

    AWS SDKs do not provide a native way to rate-limit consumption from SQS. It is up to you to implement custom logic to rate-limit message consumption.