EventBridge doesn't trigger lambda immediately

0

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!

已提問 2 年前檢視次數 315 次
1 個回答
2
已接受的答案

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 pictureAWS
專家
Uri
已回答 2 年前
profile picture
專家
已審閱 1 個月前
  • 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

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南