Connecting to your SQS queue
To ingest events using Amazon SQS, follow the steps outlined below:1
Create an IAM User for authenticating with the SQS Queue and attach the AmazonSQSFullAccess policy to the user

2

3
Under the security credentials tab for the IAM user, generate a new Access Key
Take note of the Access Key and Secret Key generated

4

5
Create a SQS Queue and specify the ARN of the IAM user under the access policy

6

7
Going back to Convoy
Supply your
Access Key
, Secret Key
, Queue Name
and Default Region
.Ingestion Options
There are two ways to ingest events into Convoy from your SQS queue:- Format the payload using the structure below as a guide and write it to your queue.
reference payload
If
x-convoy-message-type
set to broadcast, the event will be sent to all endpoints in the project, ignoring both theendpoint_id
andowner_id
values.
- Send your arbitrarily formatted event payloads to your queue and use Convoy’s transform functions to mutate them at the point of ingestion.
transform function
Things to note
- Messages are read of the topic one-by-one by each worker reading off the queue.
- Acknowledgements are done per message.
- Ingestion is rate-limited (50 per second), and this can be configured by setting the
CONVOY_INGEST_RATE
environment variable.