Is there any way in AWS SQS to route only the messages failed with particular error message to DLQ (Dead Letter Queue)?
By default, all the unprocessed messages are sent to DLQ. Is there any way to customize it based on error message?
I've noticed a number of other questions talking about lambda concurrency, but none seem to have been exactly the same as my issue so here's a new one:
I have a current lambda function using python requests that takes an SQS trigger. I have a…
I would like to set an interceptor to intercept all SQS messages coming through my app in one place regardless of how many queues I have.
I am using Spring Boot.
via spring-cloud-aws-messaging I am able to do it by extending QueueMessageHandler and…
I've been trying to automatically retry a failed job with a backoff set.
While this is working fine with RabbitMQ locally, I can't seem to get it to work on AWS SQS.
By adding logging I could confirm the job is properly retried following the $tries…
I have a node.js. daemon running in an EC2 instance that uses sqs-consumer library to read messages from a SQS.
The problem I am having is that messages are written to the SQS but they are not consumed by my daemon. I am getting no error messages.…
I'm using Django with Celery and attempting to deploy Celery using SQS and ECS. These are my celery-related Django settings:
CELERY_BROKER_URL = "sqs://" …
I'm provisioning an SQS queue and a CloudWatch that should create events to this queue via Terraform (terraform-provider-aws_4.58.0). All the resources was created succesfully, but the CloudWatch event rule always fail to send the message. At first,…
I created an SQS publisher (publishing messages as expected), the matter is that on the other hand my listener is not receiving any message:
application.yml
cloud:
aws:
stack:
auto: false
region:
static: us-east-1
auto:…
Summary
What's the best way to transform some data in DDB tables and send that data to other teams for processing using AWS services?
Details
Let's say I'm on the "customers" team, and I have a system where new customers can be created and the…
I try to use LocalStack and create aws sqs queues locally.
Here is my terminal:
I create queues using this command aws --endpoint-url=http://localhost:4566 sqs create-queue --queue-name activitiesQueue
Then list queue using this command aws…
After doing some research couldn't find an analog for @SqsListener in 2.0 java SDK. I plan to subscribe to the s3 event and executing RecieveMessaheRequest requests periodically seems overcomplicated compared to SDK 1.X approach with annotation.
I have this scenario where my SNS subscription has one filter policy with 150 values in it. I know there is cap on the value, so I have requested AWS for quota increase but even after the increased policy limit, I get this error
Couldn't set the…
I’ve already created a sns topic and sqs queues with filter policies set. Now I wanted to use this in step function.
So how can I use ?
I know we have to write message attributes in which filter policies were applied but I don’t know how to specify…
Is there a good way to orchestrate lambda functionality that changes based on a queue message? I was thinking about taking a similar approach described in the strategy pattern.
The lambda function is polling an SQS queue. The queue message would…