In this section, we will create a Lambda function to process Kinesis events.
- Create a maven project. Create an example package and key in the following Java code in a class (ProcessKinesisEvents):
package example;import java.io.IOException;import com.amazonaws.services.lambda.runtime.events.KinesisEvent;import com.amazonaws.services.lambda.runtime.events.KinesisEvent.KinesisEventRecord; ...