SQS

LAST EDIT Aug 02 2021

Stream can send payloads of all events from your application to an Amazon SQS queue you own. The complete list of supported events is identical to those send to webhooks and can be found on the Events page.

Configuration

Copied!

To configure an SQS queue, use the SDK to set the sqs_url, sqs_key & sqs_secret app settings.

SQS Permissions

Copied!

Stream needs the right permissions on your SQS queue to be able to send events to it. If updates are not showing up in your queue add the following permission policy to the queue:

Here's an example list of messages read from your SQS queue:

SQS Best practices and Assumptions

Copied!
  • Ensure to have the maximum message size set to 256 KB

Stream uses batching for updates and tries to include as many messages as possible to reduce network delays. Messages bigger than the maximum message size will be dropped.

  • Setup a dead-letter queue for your main queue

This queue will hold the messages that couldn't be processed successfully and is useful for debugging your application.