Implementing AWS: Design, Build, and Manage your Infrastructure
by Yohan Wadia, Rowan Udell, Lucas Chan, Udita Gupta
Mapping Lambda with Kinesis
The final use case in this chapter, but an equally interesting one, Kinesis is just one of another AWS services that provides stream based event sources just as we say with DynamoDB.
Kinesis and Lambda have by far the most exhaustive set of real world use cases; from log processing of streams of log data, to transactional processing, social media analytics and much more!
To get started with Kinesis and Lambda, we follow the same pattern as performed for DynamoDB. We start by creating a Kinesis Stream and mapping it to a particular Lambda function. Lambda then polls the stream for any new records and when it gets a new record (either a single record or in the form of a batch) it invokes the mapped function to execute ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access