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
2 answers

how does amazon SQS handle identical messages?

if you send a message to an specific Amazon SQS queue, and keep sending the same message to the same queue many times, ... does amazon sqs handles them as separate messages ?? or does it detect it's the same messages and only stores one message in…
Daniel
  • 367
  • 2
  • 3
  • 9
1
vote
1 answer

AWS Lambda function not respecting batch size 1 when reading from SQS Queue

I recently set up a simple AWS Lambda function reading from an SQS FIFO queue. The jobs I am running in Lambda need to be ran concurrently at a specific time. I assumed that batch size 1 would enforce each job to be mapped to a separate Lambda…
1
vote
1 answer

Why are my AWS SQS messages being deleted even though they don't match the filter criteria?

I'm using an AWS Lambda function with an SQS trigger to process messages in a queue. I've set up a filter pattern on the trigger to only allow messages with a specific value in the body to be processed. However, I've noticed that some messages that…
1
vote
0 answers

SQS sendMessage successful but message does not show up on the AWS console

I have a method that sends a message to a SQS Standard queue. The method returns a successful response upon execution. But the console does not show any messages in the queue. Any ideas on what could be the reason this is happening?? Can provide a…
1
vote
0 answers

Enable and disable SQS listener

I am working on spring boot project that uses docker and k8s for deployment. I have created a SQS listener class that listens to a SQS queue. I have a requirement where I need to implement a functionality that enables and disables the listener. Does…
Bharat
  • 11
  • 1
1
vote
1 answer

Any way to process SQS messages asynchronously through FastAPI without BackgroundTasks?

I've been looking around implementing background jobs using FastAPI. I have an API /api/event which validates the incoming request, and adds the events to be processed to a SQS queue and returns HTTP 202 (Accepted) back to the user if the event was…
1
vote
0 answers

changeVisibilityTimeout() call to SQS from Lambda fails without throwing exception

I have a lambda set up with event bridge to receive messages from an SQS with default vis timeout set to 5 minutes. Inside the lambda, certain messages are supposed to be updated so that the vis timeout is increased to 10 minutes, and then an error…
1
vote
1 answer

What does it mean by approximate in ApproximateReceiveCount in ReceiveMessage?

In the documentation, it says that ApproximateReceiveCount "Returns the number of times a message has been received across all queues but not deleted." So by approximate in the attribute's name, does it mean it's possible that the count can be off…
1
vote
1 answer

How to send SQSMessage consumed from SQSQueue directly to DLQ (C#)

I am trying to send an SQSMessage that is consumed from a SQSEvent.Records list explicitly to a DLQ. I understand that I can send it to the queue like any normal queue as long as the queueClient is pointing the DLQ. The part I am having trouble with…
Pbb
  • 408
  • 6
  • 21
1
vote
0 answers

Superset worker restarting and Celery ignoring config values - HELM / Kubernetes / SQS / S3

I am running Superset on Kubernetes (EKS v1.23, HELM chart v.0.7.7, Superset Docker image version "2-0"). I am using SQS as my celery broker and S3 as my results backend and cache. The S3 caching and results backend works, however the setup of using…
D. Gal
  • 329
  • 2
  • 14
1
vote
1 answer

Disable SqsListener on specific instances

I have a spring boot application where i am using SQS for some async tasks. I want to configure 2 types of instances in this application: Server instance: responsible for pushing message to SQS queue. Worker instance: responsible for listening…
1
vote
2 answers

Spring AOP pointcut execution not working

I'm working on a Spring Boot project that uses Spring Cloud (io.awspring.cloud:spring-cloud-aws-dependencies:2.4.2) to produce and consume AWS SQS messages. I have several message producers and several message consumers, and all is working fine from…
Nathan Russell
  • 3,428
  • 5
  • 30
  • 51
1
vote
1 answer

How to break a AWS map based on a condition

I have 10 elements in map. For each element I check some condition. If for any element,my condition passes,i want to break the map loop at that point. I don't want to loop further. I created 2 next states, one of Type succeed. Another of Type pass.…
1
vote
1 answer

Passing common parameters in map in Step function

In AWS step function, i need to run a for loop. Pass the particular element of for loop + some common information for all elements of loop.im getting the common information through input. But the problem is when I try to set parameter as…
1
vote
0 answers

API Gateway v2 HTTP to SQS -- optional header in Message attributes

I have set up API Gateway v2 HTTP to SQS. It was fine. However, I would like to send optional headers from the HTTP request to SQS. As far as I understand from the documentation, it is not possible to send the all headers to SQS, but only the ones…
Maksim Sorokin
  • 2,334
  • 3
  • 34
  • 61