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

serverless-offline-sqs : I get botocore.exceptions.NoCredentialsError: Unable to locate credentials

I am working on an application that uses AWS SQS. For testing functionality locally I am trying to use serverless-offline-sqs plugin however I am unable to move past the following error: File…
leafEater
  • 11
  • 2
1
vote
3 answers

NServiceBus: Subscribe to AWS Textract event via SQS

As the subject states: I'm using Amazon Textract to detect text on scanned documents. When Textract is done, it fires of a notification via SNS and the SQS queue subscribes to the notification. I can reveive the "all done" event with the…
Sebastian Weber
  • 6,766
  • 2
  • 30
  • 49
1
vote
1 answer

do QueueMessagingTemplate run async or sync in spring boot

Now I use QueueMessagingTemplate to consume message in SQS, and I observe private final AmazonSQSAsync amazonSqs in the class QueueMessagingTemplate. Does AmazonSQSAsync run async or sync when I use a method in this class (for example I use…
1
vote
1 answer

How do I send an event to a dlq when a lambda invoke fails?

I am creating a step-function with aws-cdk (typescript). I'm using a LambdaInvoke to invoke a lambda. When this lambda fails (throws error), I want to save this event (input to lambda) to a dlq, so that I can spec and reprocess it later. Currently,…
1
vote
0 answers

Localstack SQS can't be reached

I'm creating a spring boot application in order to publish messages to an AWS SQS queue running on Localstack, the following are the key files for my application: docker-compose.yml file version: '3.7' services: aws: image:…
1
vote
1 answer

SQS Listener not working after upgrading to java 17 & spring 3.1.0

SQS Listener not working after upgrading to java 17 & spring 3.1.0. It was working fine with java 11 & spring 2.5.2 1st error we encountered was: AmazonSQS bean was not found. Error : Field amazonSQS in com.pchf.notification.accessors.SQSAccessor…
1
vote
1 answer

Update SQS Trigger Concurrency from Terraform

I need some help with terraform code to set the Maximum concurrency of an SQS to 50. The problem is I am using hashicorp/aws/4.28.0 version where scaling_config is not available. The latest version of aws provides this feature. So how to achieve the…
1
vote
0 answers

What is the acknowledge mode of sqs if I don't explicitly specify it when I used SqsListener annotation?

I am using SqsListener annotation in my code to listen to the AWS sqs. @SqsListener(value = "${my-queue}") public void listenToMyQueue(MyEvent event){ ...... } Now I have following questions - if I didn't specify explicitly the…
Laodao
  • 1,547
  • 3
  • 17
  • 39
1
vote
0 answers

SQS async consumer, connection issues

In my app I have async SQS Consumer, here is a sample from the official documentation: class MyListener implements MessageListener { @Override public void onMessage(Message message) { try { // Cast the received message…
Ihor M.
  • 2,728
  • 3
  • 44
  • 70
1
vote
1 answer

SQS FIFO to trigger lambda only after 10 messages in the queue

I will explain our use-case and our current approach (it might be inefficient) and the issue we have with our implementation. Use case We have a lot of data coming into MQTT topics (IoT Core) and we need to process each record (append some…
1
vote
1 answer

SQS Messages are not returning in LocalStack using the Go SDK

I am looking for some assistance on using LocalStack in GitLab CI using Go. It is running, but I cannot get messages from an SQS queue during testing. I am able to get the queue URL and send messages just fine, but for whatever reason after I send a…
bdparrish
  • 3,216
  • 3
  • 37
  • 58
1
vote
0 answers

Using Celery + SQS with Django - Celery not respecting broker_transport_options

I'm trying to set up a celery worker with AWS SQS as the message broker. However, celery does not use the queue I have defined, nor does it even use the correct region. It instead creates a us-east-1 queue instead of using the ap-southeast-2 ones. I…
1
vote
1 answer

Errno 13: Permission denied: 'celerybeat-schedule' with Celery running on AWS ECS and SQS

I have a separate Celery Beat and Work service running in ECS. The worker appears to be connecting to SQS fine. The Beat on the other hand is giving me trouble. I used these instructions as a template for what I am…
Tyler Ives
  • 21
  • 2
1
vote
0 answers

SQS FIFO Queue w/ every message having its own unique message group ID is long polling for 0 when queue has more than 10k items

I have a FIFO queue setup where each single message sent is sent with a guaranteed unique message group ID. DeduplicationScope = perMessageGroup FifoThroughputLimit = perMessageGroupId I've been using this queue fine for months until today when…
ChonkyCat
  • 21
  • 2
1
vote
0 answers

How to execute function in a specific thread from threadpool

I have a messages queue, and thread pool. Massive messages amount are being sent to queue. In my threads (from the pool) I'm taking each message and pushing into the thread in-memory list using ThreadLocal>. My goal is on the X message to…
Raziza O
  • 1,560
  • 1
  • 17
  • 37