Amazon Kinesis Data Stream to AWS Lambda with error handling

Amazon Kinesis Data Streams → AWS Lambda

Create a Java Lambda function with Event Source as Kinesis Data source

This sample project demonstrates how to use AWS Lambda (Java runtime) to subscribe to events from a Kinesis Data Stream with error handling to avoid redundant message processing

< Back to all patterns

GitHub icon Download this pattern (.zip)

GitHub icon View this pattern on GitHub


Clone repo

git clone https://github.com/aws-samples/serverless-patterns/cd serverless-patterns/cdk-kinesis-lambda-java

Deploy

cdk deploy


Testing

See the GitHub repo for detailed testing instructions.

Cleanup

Delete the stack: cdk destroy.

Created by:

Shiva Mahalingam

Solutions Architect @ AWS

Follow on LinkedIn