This Snap deletes the message by receipt handle coming from SQS Consumer when Auto Acknowledge is not enabled in the SQS Consumer Snap.
ETL Transformations & Data Flow
The SQS Acknowledge Snap extracts receipt handle and queue URL from the input Document, and uses them to delete the corresponding message from the SQS instance.
Input & Output
Input: This Snap can have an upstream Snap that can pass a document output view. The input document must contain the keys ReceiptHandle and QueueURL.
Output: The Snap would generate a document that contains the result and the original document
Users of the Snap must have the following accesses to be able to use this Snap:
Valid AWS account.
Access Key and Secret Key.
IAM Role access
Limitations and Known Issues
The maximum number of inflight messages per queue are:
Standard queue - 120,000 inflight messages per queue.
FIFO queue - 20,000 inflight messages per queue.
Fore more information on queue-related limitations please refer to Queue-limits.
Configurations:
Account & Access
This Snap uses account references created on the Accounts page of SnapLogic Manager to handle access to this endpoint. See SQS Account for information on setting up this type of account.
Views
Input
This Snap has exactly one document input view.
Output
This Snap has at most one document output view.
Error
This Snap has at most one document error view and produces zero or more documents in the view.
Troubleshooting:
None at the moment.
Settings
Label
Required. The name for the Snap. You can modify this to be more specific, especially if you have more than one of the same Snap in your pipeline.
Maximum retries
The maximum number of retry attempts for failed retryable requests.
Example: 2
Default value: 3
If the value is larger than 0, the Snap first downloads the target file into a temporary local file. If any error occurs during the download, the Snap waits for the time specified in the Retry interval and attempts to download the file again from the beginning. When the download is successful, the Snap streams the data from the temporary file to the downstream Pipeline. All temporary local files are deleted when they are no longer needed.
Ensure that the local drive has sufficient free disk space to store the temporary local file.
Batch size
The number of documents the Snap would batch before processing. The maximum number is 10. Would be ignored if client-side buffering is enabled in the SQS Producer Snap.
Example: 5
Defaultvalue: 10
Batch timeout
The maximum time in milliseconds the snap waits before a batch is sent out.
Example: 100
Defaultvalue: 200
Max outbound batches in parallel
The maximum number of concurrent batches for each type of outbound request. The greater the number, the greater the throughput that can be achieved (at the expense of consuming more threads).
Example: 4
Defaultvalue: 5
Snap execution
Select one of the three modes in which the Snap executes. Available options are:
Validate & Execute: Performs limited execution of the Snap, and generates a data preview during Pipeline validation. Subsequently, performs full execution of the Snap (unlimited records) during Pipeline runtime.
Execute only: Performs full execution of the Snap during Pipeline execution without generating preview data.
Disabled: Disables the Snap and all Snaps that are downstream from it.
Examples
Basic Use Case
The following pipeline describes how the Snap functions as a standalone Snap in a pipeline:
The Snap is configured with the following parameters:
A preview of the output from executing this pipeline is as follows:
Exported pipelines are available in the Downloads section below.
Typical Snap Configurations
Key configuration of the Snap lies in how the values are passed. The values can be passed:
Without Expressions: Values are passed directly in the Snap:
With Expressions:
Using pipeline parameters: Values are passed as pipeline parameters:
Downloads
File
Modified
No files shared here yet.
Snap Pack History
Click to view/expand
Release
Snap Pack Version
Date
Type
Updates
August 2024
main27765
Stable
Updated and certified against the current SnapLogic Platform release.
May 2024
main26341
Stable
Updated and certified against the current SnapLogic Platform release.
February 2024
main25112
Stable
Updated and certified against the current SnapLogic Platform release.
November 2023
main23721
Stable
Updated and certified against the current SnapLogic Platform release.
August 2023
434patches23363
Latest
Fixed the behavior change introduced in 4.32 GA related to Amazon SQS Accounts using the STS token. After the 4.32 GA, the account would automatically retry authentication on encountering 401 or 403 errors, and pipelines would not fail even after token expiration. The Amazon SQS Consumer Snap now behaves as expected and fails after the STS token expires.
August 2023
main22460
Stable
Updated and certified against the current SnapLogic Platform release.
May 2023
main21015
Stable
Upgraded with the latest SnapLogic Platform release.
February 2023
432patches19990
Latest
Added support for the SQS Account to reauthenticate when the authentication expires.
Behavior Change
With the 432patches19990, the Amazon SQS account reauthenticates when the authentication expires; the account automatically retires authentication on encountering 401 or 403 errors.
February 2023
main19844
Stable
Upgraded with the latest SnapLogic Platform release.
November 2022
main18944
Stable
Upgraded with the latest SnapLogic Platform release.
August 2022
main17386
Stable
Upgraded with the latest SnapLogic Platform release.
4.29
main15993
Stable
Upgraded with the latest SnapLogic Platform release.
4.28 Patch
428patches14774
Latest
Fixed an issue in theSQS Consumer Snap where the Snap took longer time to process the messages when the Client-side buffering checkbox was selected.
4.28
main14627
Stable
Upgraded with the latest SnapLogic Platform release.
4.27 Patch
427patches14012
Latest
Fixed an issue in the SQS Consumer Snap where the Snap did not read message attributes when the Client-side buffering checkbox is selected.
4.27
main12833
Stable
Upgraded with the latest SnapLogic Platform release.
4.26
main11181
Stable
Upgraded with the latest SnapLogic Platform release.
4.25 Patch
425patches10994
Latest
Removed the duplicate strings in the request’s User Agent header sent by the Snaps in Amazon SQS Snap Pack.
Enhanced the Amazon SQS account to add Snap’s information to the User Agent header for Cross IAM account requests.
Enhanced the Amazon SQS Account with a new checkbox Enable Large Message Support that enables Amazon SQS client to send and receive messages up to 2GB through Amazon S3.
4.25 Patch
425patches9596
Latest
Added the Security token field to the Amazon SQSaccount.
4.25
main9554
Stable
Upgraded with the latest SnapLogic Platform release.
4.24
main8556
Stable
Enhances the Snap Pack to support Cross-Account IAM role that allows to access the queues residing in another AWS account.
4.23
main7430
Stable
Upgraded with the latest SnapLogic Platform release.
4.22
main6403
Stable
Upgraded with the latest SnapLogic Platform release.
4.21
snapsmrc542
Stable
Upgraded with the latest SnapLogic Platform release.
4.20
snapsmrc535
Stable
Upgraded with the latest SnapLogic Platform release.
4.19
snaprsmrc528
Stable
Upgraded with the latest SnapLogic Platform release.
4.18 Patch
MULTIPLE7778
Latest
Updated the AWS SDK library version to default to Signature Version 4 Signing process for API requests across all regions.
4.18
snapsmrc523
Stable
Upgraded with the latest SnapLogic Platform release.
4.17
ALL7402
Latest
Pushed automatic rebuild of the latest version of each Snap Pack to SnapLogic UAT and Elastic servers.
4.17
snapsmrc515
Latest
Added the Snap Execution field to all Standard-mode Snaps. In some Snaps, this field replaces the existing Execute during preview checkbox.
4.16
snapsmrc508
Stable
Upgraded with the latest SnapLogic Platform release.
4.15
snapsmrc500
Stable
Upgraded with the latest SnapLogic Platform release.
4.14
snapsmrc490
Stable
Upgraded with the latest SnapLogic Platform release.
4.13
snapsmrc486
Stable
Upgraded with the latest SnapLogic Platform release.
4.12
snapsmrc480
Stable
Introduced the Snap Pack in this release that includes SQS Producer, SQS Consumer, and the SQS Acknowledge Snaps.