Questions tagged [amazon-sqs]

Amazon Simple Queue Service (Amazon SQS) offers a reliable, highly scalable, hosted queue for storing messages as they travel between computers.

Resources

Tutorial

4134 questions
1
vote
0 answers

Configure AWS SQS Dead Letter Queue in AWS for a specific error message

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?
Kingston X
  • 65
  • 5
1
vote
1 answer

Lambda function with SQS - Concurrent functions not even coming close to limit

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…
1
vote
0 answers

How to set an interceptor for all sqs routes in apache Camel

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…
Samet Baskıcı
  • 1,090
  • 3
  • 13
  • 26
1
vote
0 answers

Laravel Queued Job with a backoff not working on SQS

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…
Gregory
  • 1,148
  • 1
  • 9
  • 24
1
vote
1 answer

How can I read a SQS message using sqs-consumer inside an EC2 instance?

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.…
1
vote
1 answer

Celery worker keeps creating new SQS queue

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://" …
Luciano
  • 426
  • 2
  • 9
  • 19
1
vote
0 answers

Fail on CloudWatch Rules that triggers Lambda when provisioned by Terraform AWS Provider

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,…
1
vote
1 answer

SQS listener not handling messages

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:…
Diego Nieto
  • 581
  • 2
  • 10
  • 23
1
vote
1 answer

How to give the same data set to multiple consumers in AWS?

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…
1
vote
1 answer

How to pass sqs queue URL to an lambda with cdk

const dependencies: AmplifyDependentResourcesAttributes = AmplifyHelpers.addResourceDependency( this, amplifyResourceProps.category, amplifyResourceProps.resourceName, [ { category:…
bill.gates
  • 14,145
  • 3
  • 19
  • 47
1
vote
1 answer

How to fix "The specified queue does not exist for this wsdl version" error?

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…
Saduni
  • 61
  • 1
  • 11
1
vote
0 answers

@SqsListener analog in 2.0 java SDK

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.
1
vote
1 answer

SNS Filter policy hitting limit error after quota increase

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…
1
vote
0 answers

I’m trying to add a sns service in a step function. And that sns service is having filter policy

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…
1
vote
1 answer

Orchestrating lambda functionality similar to a strategy pattern

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…