I enjoyed the clear and simple explanation! Thank you
@BeABetterDev4 жыл бұрын
You are welcome!
@TomerBenDavid5 жыл бұрын
excellent best practice section 👌 I really liked that it's more theoretical and less example based so I can listen to it like it's a podcast while commuting to work. Combination of uploading both kinds of videos is perfect so if I want to learn more of the theoretical background I get these and if I need a specific example I go to the example video.
@BeABetterDev5 жыл бұрын
Thanks Tomer! I'm going to keep mixing it up with hands-on guides + overview/theoretical videos. Thanks again for your continued support.
@maksymo9917 Жыл бұрын
Nice, we're just building an email notification service based on scanning of a dynamo table. Sending those through the SQS before they get to SES seems to be a good idea
@ThijmenCodes Жыл бұрын
Great video, clear explanation. Thanks.
@markemerson983 жыл бұрын
this is another great toot. any code examples to handle the SQS and SNS?
@steviewonder58952 жыл бұрын
Great video. Do you by any chance have an example of a redrive lambda? Would be nice to look at it. Thank you.
@rickharold78843 жыл бұрын
Love lambda. Nice video
@Roy-Vector3 Жыл бұрын
Can lambda throttling be a reason for a message to go from an SQS queue to a dead letter queue?
@easyappscompany4 жыл бұрын
Best Regards From Mexico City. Manuel Silva
@BeABetterDev4 жыл бұрын
Thank you Manuel!
@sandipansarkar92112 жыл бұрын
finished watching
@Slsnoow4 жыл бұрын
Hey, the info here is wrong for SQS. SQS with lambda doesn't use async invoke and Lambda is responsible for removing the message from the queue it polled on success. Failed messages remain in the SQS queue for some number of retries and then get sent to the SQS queue's DLQ, not the lambda's.
@BeABetterDev4 жыл бұрын
Hi Jay, thanks for pointing this out. I'll pin it to the top once I confirm. Do you have any links to the documentation where this is stated? Thanks
@Slsnoow4 жыл бұрын
@@BeABetterDev Here's a link. If I am wrong please let me know btw :) Great vid. docs.aws.amazon.com/lambda/latest/dg/with-sqs.html
@zion4954 жыл бұрын
@@Slsnoow You are right. The message remains on SQS but is invisible for as long as it is being processed if it's not able to be processed by the lambda. It becomes visible again (to other lambdas) based on a visibility timeout
@nadaralpenidze95493 жыл бұрын
There is some wrong information: 1. You can't set up a DLQ for the SQS event trigger, since the trigger is poll-based (and therefore synchronous after the lambda polls the batch). You can set a DLQ on the SQS Queue. Other than that, awesome video. * Note: this also includes: Kinesis and DynamoDB Events - which are poll based Great video other than that
@BeABetterDev3 жыл бұрын
Thanks for calling this out Nadar!
@seans91685 жыл бұрын
Good explanation, but I really look forward to to the examples as you have done in previous videos.
@BeABetterDev5 жыл бұрын
Thanks for the feedback Sean. I will be sure to include practical examples going forward.
@mateusz68764 жыл бұрын
@@BeABetterDev Did you do some example?
@marcosmussio85993 жыл бұрын
Pretty good explanation! But regarding the alarm you mentioned at the end of the video, If I set an alarm based on the amount of messages into DLQ, in case I pull of the messages and move them into the main queue, the DLQ size would be 0, but I don't know whether the error that caused the DLQ size increment was fixed or not. Thx.
@BeABetterDev3 жыл бұрын
Hi Marcos, In this example, it depends on the different failure modes of your lambda and why it is throwing the exception in the first place. If the error is transient like a connection issue, it may be the case that re-driving the messages into the main queue will result in the message being successfully processed. However, if it was a permanent failure such as unexpected input, it would permanently fail. These errors should remain in the queue until purged or until a code change is put out to correct the issue. Hope this provided some clarity.
@RaviKumar-oy5jq3 жыл бұрын
can we scan the DQL without reading the message ?
@okoroefe15272 жыл бұрын
Great video. Is it possible to setup a DLQ for a lambda with a selfmanaged kafka as trigger?
@BeABetterDev2 жыл бұрын
Hi Okoro, I don't have much experience with Kafka :(
@jean-louisgouwy4 жыл бұрын
How do you handle FIFO event. I mean, you have 1 2 3 4 5 events. Your 1 2 3 event succeed. Then you have a problem (external call unreachable momentally), the event 4 fails several time. The event 4 is sent to DLQ. Then, the event 5 arrives, the system is back, the event 5 succeeds. How can we know if the event 4 need to be processed again or not ?
@maksymo9917 Жыл бұрын
Do you need to rollback the previous events? If the fourth one fails you should be able to get it from DLQ