By using AWS re:Post, you agree to the Terms of Use

EventBridge doesn't trigger lambda immediately


Hey, I'm testing some rules, and as I see, if I send one message to eventBridge, it calls the lambda immediately but If I send two in a row very quickly in a loop, they both send but eventbridge won't call my lambda. Then I send a few more and it suddenly appears plus previous events (based on logs and my app feedback).

I'm on free tier and just sending two quick message per second, not sure what's wrong!

1 Answer
Accepted Answer

Lambda sends the logs to CloudWatch Logs asynchronously. This means that the log message can be delayed. I would suggest to look at the time stamp on the messages and not when you see them in the log stream.

profile picture
answered a month ago
  • True, seems problem was the way I was sending them in the loop/async/await and I didn't get eventID actually which means didn't send

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions