Amazon Data Firehose Data Transformation with AWS Lambda

Kinesis Data Firehose → Lambda → Kinesis Data Firehose → S3

Transform incoming source data and deliver the transformed data to S3.

The purpose of this pattern is to deploy the infrastructure necessary to enable Kinesis Data Firehose data transformation.
Kinesis Data Firehose can invoke a Lambda function to transform incoming source data and deliver the transformed data to destinations. In this architecture, Kinesis Data Firehose then invokes the specified Lambda function asynchronously with each buffered batch using the AWS Lambda synchronous invocation mode.
The transformed data is sent from Lambda to Kinesis Data Firehose. Kinesis Data Firehose then sends it to the destination S3 bucket when the specified destination buffering size or buffering interval is reached, whichever happens first.

< 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-firehose-s3-transform-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