/aws-kinesis-firehose-lambda-s3

AWS kinesis data stream, kinesis data firehose, a transformer with lambda and store into s3 bucket

Primary LanguageTypeScript

AWS Kinesis Data Stream, Kinesis Data Firehose, Lambda and S3

The main purpose of this application is to help the data analytics team. The data analytics team collects data from s3 and does their analysis. This serverless application will do that, a client application produces data and pass data into the AWS kinesis data stream. after a certain buffer time or size, the AWS Data Firehose starts execution. During, Firehose execution lambda lambda will trigger for data transformation and store it in s3 for further work.

Architecture

high level architecture

Blog

https://medium.com/@rafat97/kinesis-data-stream-kinesis-firehose-common-use-case-d515c785e51

How to Run

  1. Install serverless freamwork npm install -g serverless

  2. Clone the repository git clone https://github.com/Rafat97/aws-kinesis-data-stream-lambda-s3.git

  3. install packages npm install

  4. Deploy application into AWS npm run deploy:dev:us-west-1

  5. After complition run producer for producing messages. npm run run:producer

  6. [NOTE] If you want to remove application npm run remove:dev:us-west-1

  7. For more commend you can checkout package.json file.


Thank you