I am writing a SAM template for a business application that, among other things, processes device status updates.
Users post status updates to the API Gateway that, in turn, suitably sets the destSQS message attribute and publishes such requests to…
I have SNS topic and SQS queue. I'd like to send some messages from SNS to SQS. I have SNS filter policy that uses exists operator
ResultTopicToAlertSqs:
Type: AWS::SNS::Subscription
Properties:
TopicArn: !Ref ResultTopic
Endpoint:…
I have a SQS queue with thousands of messages. I cannot consume them on lambda due to size of function (using puppeteer) so I've moved my consumer to EC2 instance(s). As this is POC, I did a very basic implementation of consumer using this…
(Note: I am a beginner in using AWS SQS for queues) I have a function where I would like to insert tens of thousands records into an excel, save the excel to AWS S3 and display into frontend datatable. This function executes using AWS SQS queue with…
I am connecting to SQS through my Java code, and the connection is required to be alive for more than 60 minutes, as I keep polling a queue for a long time. However the credentials I use seem to expire. How can I keep the credentials alive?
Below is…
I have a Postfix mail server running on a Amazon instance. Is there a way to interact with Postfix and save every mail that comes to server in a file on Amazon S3 and to save email details in a Amazon SQS queue (mail details: to, from, subject, etc,…
I have created a FIFO queue, but would like to limit the number of requests it can make, so as not to overload the server it is sending those requests to.
CDK Code:
this.intoMagento = new Queue(this, "intoAPI", {
queueName: `intoAPI.fifo`,
fifo:…
i try to create sqs queue and attach access policy to it, The policy is of type "data" - no actual resource is created , its just attached to the newly created sqs queue.
╷
│ Error: Cycle: data.aws_iam_policy_document.sqs_vote_policy,…
I'm trying to understand async methods and await, I've got this simple example:
using (var client = new AmazonSQSClient())
{
var sqsRequest = new SendMessageRequest()
{
MessageBody =…
I am creating an event in AWS that when a file is dropped into S3, this rule is triggered and starts a step function (SfnStateMachine)
I have some cdk code (node.js) where I add the SfnStateMachine as a target of that rule.
I want to take the…
I've configured a DLQ in AWS following this article:
https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-configure-dead-letter-queue.html
This is the consumer I have in a sprint boot application:
@SqsListener(value =…
I created SQS service with terraform
resource "aws_sqs_queue" "ses_queue" {
name = "ses_queue"
message_retention_seconds = 86400
receive_wait_time_seconds = 1
visibility_timeout_seconds = 15
}
resource…
I am creating a sqs with a dead letter queue. The creation of the queue is success but I need to store the ARN value of the queue in systems manager at parameter store. Is there any way to pass the value to parameter store? Please provide inputs.
I…
I know SQS has the maxReceiveCount and once the message has been consumed and failed this amount of times, then the message is moved to the DLQ. That's working currently.
However, there are certain errors which I would want to go back in my source…
I have the following architecture:
S3 ---> S3 Notification ---> SQS ---> Lambda
Sometimes, I'm getting the following error message from the Lambda (of course the times are different):
"errorType": "Runtime.UnhandledPromiseRejection"
"errorMessage":…