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…
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…
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…
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,…
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:…
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…
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…
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…
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…
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…
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…
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…
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…
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…
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…