AWS Lambda push to Amazon Kinesis and read with another AWS Lambda function

AWS Lambda → Amazon Kinesis Data Streams → AWS Lambda

Create a Lambda function to push record to a Kinesis Data Stream and create another function to process those events from the stream.

This sample project demonstrates how to use serverless producer and consumer for a Kinesis Data Stream
A producer Lambda function puts data into the Kinesis Data Stream while consumer Lambda function gets trigger when there is data in the stream
This pattern deploys two Lambda Functions and one Kinesis Data Stream.

< 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/lambda-kinesis-lambda-cdk

Deploy

cdk deploy


Testing

See the GitHub repo for detailed testing instructions.

Cleanup

Delete the stack: cdk destroy.

Created by:

Saborni Bhattacharya

Saborni Bhattacharya

AWS SA, Cloud Enthusiast

Follow on LinkedIn