Amazon SQS
This source will sync messages from an SQS Queue.
This source will output one stream for the configured SQS Queue. The stream record data will have three fields:
- id (a UUIDv4 as a STRING)
- body (message body as a STRING)
- attributes (attributes of the messages as an OBJECT or NULL)
Feature | Supported?(Yes/No) | Notes |
---|---|---|
Full Refresh Sync | yes | |
Incremental Sync | no | |
Namespaces | no |
- AWS IAM Access Key
- AWS IAM Secret Key
- AWS SQS Queue
Required properties are 'Queue URL', 'AWS Region' and 'Delete Messages After Read' as noted in bold below.
- Queue URL (STRING)
- The full AWS endpoint URL of the queue e.g.
https://sqs.eu-west-1.amazonaws.com/1234567890/example-queue-url
- The full AWS endpoint URL of the queue e.g.
- AWS Region (STRING)
- The region code for the SQS Queue e.g. eu-west-1
- Delete Messages After Read (BOOLEAN)
- WARNING: Setting this option to TRUE can result in data loss, do not enable this option unless you understand the risk. See the Data loss warning section below.
- Should the message be deleted from the SQS Queue after being read? This prevents the message being read more than once
- By default messages are NOT deleted, thus can be re-read after the
Message Visibility Timeout
- Default: False
- Max Batch Size (INTEGER)
- The max amount of messages to consume in a single poll e.g. 5
- Minimum of 1, maximum of 10
- Default: 10
- Max Wait Time (INTEGER)
- The max amount of time (in seconds) to poll for messages before commiting a batch (or timing
out) unless we fill a batch (as per
Max Batch Size
) - Minimum of 1, maximum of 20
- Default: 20
- The max amount of time (in seconds) to poll for messages before commiting a batch (or timing
out) unless we fill a batch (as per
- Message Attributes To Return (STRING)
- A comma separated list of Attributes to return for each message
- Default: All
- Message Visibility Timeout (INTEGER)
- After a message is read, how much time (in seconds) should the message be hidden from other consumers
- After this timeout, the message is not deleted and can be re-read
- Default: 30
- AWS IAM Access Key ID (STRING)
- The Access Key for the IAM User with permissions on this Queue
- If
Delete Messages After Read
isfalse
then onlysqs:ReceiveMessage
- If
Delete Messages After Read
istrue
thensqs:DeleteMessage
is also needed
- AWS IAM Secret Key (STRING)
- The Secret Key for the IAM User with permissions on this Queue
When enabling Delete Messages After Read, the Source will delete messages from the SQS Queue after reading them. The message is deleted after the configured Destination takes the message from this Source, but makes no guarentee that the downstream destination has commited/persisted the message. This means that it is possible for the Airbyte Destination to read the message from the Source, the Source deletes the message, then the downstream application fails - resulting in the message being lost permanently.
Extra care should be taken to understand this risk before enabling this option.
NOTE:
- If
Delete Messages After Read
isfalse
then the IAM User needs onlysqs:ReceiveMessage
in the AWS IAM Policy- If
Delete Messages After Read
istrue
then bothsqs:ReceiveMessage
andsqs:DeleteMessage
are needed in the AWS IAM Policy