课程: AWS for Developers: Data-Driven Serverless Applications with Kinesis

今天就学习课程吧!

今天就开通帐号,24,700 门业界名师课程任您挑!

AWS Lambda and Kinesis streams

AWS Lambda and Kinesis streams

- [Instructor] Now you know the basics of AWS Lambda, Kinesis Data Streams, and you know that a record in a stream can trigger a function. But how does that happen? Typically, when data stored in a Kinesis Data Stream is consumed by an application, it is a consumer responsibility to track or checkpoint a stream last known position that was successful and processed. If you want to do this manually, it's a lot of work, and more if the consumer is Lambda function as you can have many functions at the same time processing the records in the stream. The event source mapping takes care of checkpointing for you so your Lambda function code can purely focus on the business logic for processing an event or a set of events. You can consume the records from Kinesis stream from Lambda, and every time there are records in the stream, a function can be triggered. An event source mapping is a Lambda resource that treats from a band…

内容