amazon-sqs Questions

3

Solved

Simple question: I want to run an autoscale group on Amazon, which fires up multiple instance which processes the messages from a SQS queue. But how do I know that the instances aren't processing t...
Supercharger asked 12/5, 2015 at 10:7

1

Solved

I have a queue which is supposed to receive the messages sent by a lambda function. This function is supposed to send each different message once only. However, I saw a scary amount of receive coun...
Gesticulation asked 11/8, 2022 at 19:44

1

I am running a batch job in AWS which consumes messages from a SQS queue and writes them to a Kafka topic using akka. I've created a Sqs Async Client with the following parameters: private static S...
Gropius asked 14/7, 2021 at 11:30

2

I have a filter for a SNS subscription (SQS) where I'm using this filtering: {"source":[{"anything-but":"SOME_STRING"}]} This works OK, except that sometimes I have messages going to the SNS that...
Splice asked 24/10, 2018 at 2:23

1

Solved

I have an SQS queue (Q) that receives messages via the onFailure "destinations" setting from a Lambda function (F). The Lambda function is triggered by and EventBridge event bus "rul...
Monet asked 28/6, 2022 at 12:36

2

Solved

If I understand correctly, batch size setting on Lambda decides how many messages to take in one sweep from the SQS. Therefore this JSON (taken from the test Lambda SQS); { "Records": [ { "mess...
Maplemaples asked 7/2, 2019 at 13:3

2

Solved

AWS blog says that it supports the fanout messaging pattern. To do that, I subscribe SQS queues to a SNS topic. Now my question is, is the publishing of message to SQS by SNS reliable? As in, is it...
Mas asked 12/12, 2012 at 13:38

3

Solved

i use AWS Lambda (.NET Core 2.1 environment) + SQS as trigger The problem is that my lambda cannot parse my SQS message. Error converting the Lambda event JSON payload to a string. JSON string...
Pipe asked 18/2, 2020 at 9:27

4

Solved

I have the following code retrieving messages from a SQS queue. I am using a AmazonSQSBufferedAsyncClient to retrieve the message from Queue. A fixed delay SingleThreadedExecutor wakes up every 5 m...
Cincture asked 16/8, 2013 at 1:47

1

I am using AWS SQS in my project. I want to use this for local setup. For SQS, I have added docker_local on my project. I have updated Dockerfile by adding this as suggested in the link. FROM java:...
Closelipped asked 5/7, 2018 at 7:23

1

Solved

Was playing around with AWS SQS FIFO Queue locally in localstack with AWS Java sdk v2 & Spring Boot. I created one endpoint to send messages through one publisher and three endpoints to receive...

4

Solved

I am developing an application in which I need to send multiple events to SNS. Is there any way to send all the events in batch or do I need to send/ publish using a for-loop (I'm using Java) one b...
Favorable asked 10/1, 2020 at 5:11

0

I was attempting to setup an event notification in S3 that would send a message to an SQS generated by Snowflake on any object creation event. This is fairly straightforward, but when I attempted t...
Israelisraeli asked 16/5, 2022 at 7:23

2

Solved

I'm trying to emulate AWS SQS functionality using https://github.com/roribio/alpine-sqs container. I was able to run the docker container and send the messages to the queue using terminal. configu...
Therapsid asked 26/9, 2019 at 13:37

2

Solved

Is there a correct number of dead letter queues that I should have? Can my architecture just have one and share across all queues? How should I make this decision? Thank you.
Alleviation asked 20/10, 2019 at 0:55

3

Solved

In RabbitMQ, one can create an exchange, then bind it to multiple queues, each with a routing key. This enables messaging architectures like this: message_x / | \ foo-msg_q bar-msg_q msg-logger_...
Edette asked 5/3, 2014 at 11:49

4

Solved

I have a requirement to read all messages in my Amazon SQS queue in 1 read and then sort it based on created timestamp and do business logic on it. To make sure all the SQS hosts are checked for m...
Incendiarism asked 13/1, 2014 at 19:41

2

I'm sending messages to a queue from a lambda function. But some times sqs.sendMessage dont return anything and the lambda get timeout. This happens sometimes I tried changing de code many times, ...
Fischer asked 9/8, 2019 at 12:12

7

I was working with Dead letter Queue in Amazon SQS. I want that whenever a new message is received by the queue it should raise a CloudWatch alarm. The problem is I configured an alarm on the metri...

4

Solved

The documentation for AWS SNS and SQS have sections about message attributes. But there is no explanation how to have SQS message attributes when that queue is subscribed to a SNS topic. Is there ...
Doan asked 29/5, 2017 at 9:10

1

Solved

Trying to write some tests for my AWS SQS Queue and its associated Dead letter queue. I want to somehow in my tests force the message from the queue to its DLQ, then read from the dlq to see if the...
Rosaliarosalie asked 16/2, 2022 at 20:31

1

I'm building a Spring Boot application that consumes an AWS SQS queue. I'm able to consume the queue, however I can't seem to do so with multiple concurrent consumers. When running from the comman...
Kelvinkelwen asked 2/10, 2018 at 3:51

2

Solved

I am using event-driven architecture for one of my projects. Amazon Simple Queue Service supports handling failures. If a message was not successfully handled, it does not get to the part where I ...
Oleoresin asked 23/9, 2019 at 16:13

3

Solved

I'm trying to write a cross account aws cli command to subscribe to a topic and create a filter for that subscription at the same time. Below is how my command looks like. aws sns subscribe --top...

2

Solved

I would like to connect an sqs queue to an sns topic that is in a different account, using cdk (typescript). Below is the code (this code is in a stack) that I think should work but I have some dou...

© 2022 - 2024 — McMap. All rights reserved.