so I'm trying to place a dictionary into a dynamodb table, yet I keep getting the error:
ERROR TypeError: cannot pickle '_thread.lock' object
The code is below:
def send_to_dynamo():
message = receive_from_queue()
database =…
I've a FIFO SQS queue with a lambda polling it.
The lambda had this error for one of the msgs of queue:
Runtime exited with error: signal: killed Runtime.ExitError
I know this happened due to max memory reached.
Now, any msg sent to queue after this…
I have a dead-letter queue which receives messages as a result of a failed processing attempt from Lambda function. In this case, the NumberOfMessagesSent metric for the dead-letter queue is not available. Therefore I found a way to derive this…
I have a scenario where I am sending a message to a request queue which in turns calls a lambda.
That lambda performs some operation and write the data to a response queue(AWS SQS).
How do I retrieve the specific message from my response queue for…
AWS CDK provides a function to add new SQS trigger (aka eventSource) to a lambda, addEventSource.
But is there a way to get a hand on the existing eventSources that a Lambda might already have, in order to update or disable/enable them for…
I am using Spring Boot 2.7.4
and
com.fasterxml.jackson.modulejackson-module-kotlin
I'm facing the following error when trying to send an Object through…
I have a system where I publish updates to a shared topic meant for specific consumers.
I noticed messages getting stuck in the queue due to a lack of selective listening in SQS consumers, so messages are being hijacked.
Example:
Given:…
I an using the npm package: sqs-consumer to poll for messages in a queue. Whenever a new message comes in I want it to create a subfolder in an S3 bucket. The issue that I am having is that even after the message is received and then deleted from…
I have a problem connecting Celery to AWS SQS service.
My arhitecture looks like this: First service is API that uses celery.send_task() methods, then I have 2 SQS queues, and after that I have two celery workers, and each worker(separate…
I would like to give myself the ability to rollback the Lambda that my SQS events trigger if I ship bad code.
To do this, I would like my SQS event configuration in serverless.yml to apply to a specific lambda version rather than the default…
Good evening!
I receive an SNS inside an SQS Listner, and then I publish another SNS. Inside the SNS that I receive has a TraceId, how can I propagate this trace Id in the SNS that I send?
I thought about using spring-cloud-starter-sleuth, but I…
Say I want to send emails to users.
When users sign up for an account they get an email.
When they complete an order they get an email.
When they receive a message they get an email.
My hunch is that a event Fanout is a good approach to use here.…
After reading AWS Documentation I read that AWS Lambda can send traffic outside the network via a NAT gateway; which I have.
However, I have an SQS that has messages my lambda is ingesting based on events.
I also have a Lambda inside a VPC with a…
Currently, the messages on source queue are sent to dead-letter-queue on every exception. My goal is to add custom attributes to the failed message so that engineers have more information about failure when they monitor the dead-letter-queue.
When I…
An ajax call can be made to push message to SQS from front end browser facing app directly without any interaction of server based backend.
example using below API…