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
전문가
검토됨 한 달 전
  • 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

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠