Posted On: Nov 23, 2021

AWS Lambda now helps partial batch response for SQS as an occasion supply. With this function, when messages on an SQS queue fail to course of, Lambda marks a batch of information in a message queue as partially profitable and permits reprocessing of solely the failed information. By processing info at a record-level as a substitute of batch-level, AWS Lambda has eliminated the necessity of repetitive knowledge switch, rising throughput and making Amazon SQS message queue processing extra environment friendly. 

Till now, a batch being processed by means of SQS polling would both be fully profitable, during which case the information could be deleted from the SQS queue, or would fully fail, and the information could be saved on the queue to be reprocessed after a ‘visibility timeout’ interval. The Partial Batch Response function an SQS queue will solely retain these information which couldn’t be efficiently processed, bettering processing efficiency.

This function is obtainable for each customary and FIFO SQS queues, in all industrial areas that AWS Lambda is obtainable in. For extra particulars, There are not any further fees for utilizing this function past the usual Lambda worth for Lambda.

To study extra about Partial Batch Responses, discuss with the documentation on utilizing AWS Lambda with SQS.