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!

preguntada hace 2 años315 visualizaciones
1 Respuesta
2
Respuesta aceptada

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
EXPERTO
Uri
respondido hace 2 años
profile picture
EXPERTO
revisado hace un mes
  • 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

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas