Lambda Error Handling with Kinesis Streams | Serverless Error Handling for Streaming Event Sources

แชร์
ฝัง
  • เผยแพร่เมื่อ 20 ต.ค. 2024

ความคิดเห็น • 8

  • @vaibhavgupta7429
    @vaibhavgupta7429 ปีที่แล้ว +1

    Great video brother, extremely helpful

    • @AjayWadhara
      @AjayWadhara  ปีที่แล้ว

      Thank you so much🙏🏻🚀

  • @SoumilShah
    @SoumilShah 2 ปีที่แล้ว

    Thanks i have a question when i configured SQS queue for kinesis data streams and I manually added raise Exception in code to see if messages are going to SQS and I didn't see that working did it work for you

    • @AjayWadhara
      @AjayWadhara  2 ปีที่แล้ว

      Did you verify SNS subscribers are added correctly.

    • @SoumilShah
      @SoumilShah 2 ปีที่แล้ว

      @@AjayWadhara Well i didnt wanted to go SNS->SQS route I wanted directly publish to DLQ
      thanks for video its very helpful

  • @mayankpant5376
    @mayankpant5376 2 ปีที่แล้ว

    Hey awesome vid main. You are now among only few youtubers who have covered kinesis in depth. I have one question, is there any way to make kinesis retry on lambda execution failure. could not find any info as to what is the specific return type does kinesis wants to know that it has to retry the batch. I know if i will raise an error it will retry, but is there any specific return type i can provide to kinesis so that it retries the current batch. Thanks for the vid ser !

    • @AjayWadhara
      @AjayWadhara  2 ปีที่แล้ว

      Thanks Mayank,
      Kinesis doesn’t send the data to Lambda, rather Lambda picks the data from Kinesis in batches. Kinesis is a durable storage and it will keep the data for whatever time you specify and consumers will pick the data from streams.
      So, you have to implement error handling in Lambda to know what error you are facing and how to handle that

  • @sohamdatey22
    @sohamdatey22 หลายเดือนก่อน

    I believe lambda will keep retrying the 100th and not all the ones from. 1 to 99.