There are different ways to manually read data from a KDS, such as using the SDK and KCL. We can also configure AWS to invoke a Lambda when records are put into a Kinesis stream. In this recipe, we will learn how to configure a lambda to be invoked when records are added to a Kinesis stream.
Invoking Lambda with Kinesis events (Java)
Getting ready
You will need the following prerequisites to complete this recipe:
- You need an active AWS account. You need to follow the section Getting started in the recipes Your first AWS Lambda and Your first Lambda with AWS CLI from Chapter 1, Getting Started with Serverless Computing on AWS to set up Java, Maven, the parent project, serverless-cookbook-parent-aws-java and AWS CLI, and...