Engineering
CloudFormation resources for webhook retries
CandySync declared its retry queues and linked them to Lambda consumers in the webhook service.
The framework’s resources section accepts AWS CloudFormation definitions alongside Lambda functions. SalesCandy used it in the CandySync webhook to declare outbound delivery queues and their SQS redrive policies. The outbound queue could move repeatedly unsuccessful messages to a slower retry queue, which had its own Lambda consumer. That retry queue in turn pointed to a dead-letter queue for messages that exhausted its receive limit. A change to that retry path could be reviewed alongside the function that consumed it.
SalesCandy Git evidence — Dodol/candysync-webhook at ceaf72f (19 November 2022), serverless.yml. AWS infrastructure resources