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!

posta 2 anni fa315 visualizzazioni
1 Risposta
2
Risposta accettata

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
ESPERTO
Uri
con risposta 2 anni fa
profile picture
ESPERTO
verificato un mese fa
  • 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

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande