streamdata-serverless / streamdata-io-basic-demo-stockmarket-prices

Streamdata.io Stock Market Data Streaming To AWS S3 Data Lake Using Lambda Serverless
https://serverlessrepo.aws.amazon.com/applications/arn:aws:serverlessrepo:us-east-1:879370021840:applications~StreamData-IO-Stock-Market-Data
MIT License
11 stars 1 forks source link
aws aws-lambda json-patch server-sent-events serverless streaming streaming-api streaming-data

Streamdata.io Stock Market Data Streaming to AWS S3 Data Lake (Serverless)

This is a demo of delivering a stream of stock market prices using Streamdata.io running on AWS Lambda as a "serverless" function. It is designed to take an existing JSON API, in this case a demo stock market API, and turn it into a streaming API using Server-Sent Events (SSE), applying incremental updates using JSON Patch, and then stream the results into a data lake store on Amazon S3.

You will need a Streamdata.io account and application key to run this function, as well as an AWS account to run the Lambda function in, and AWS S3 to store the data. You can run this as stream for up to five minutes (the maximum timeout of a Lambda script), then rerun every X minutes, or other schedule using AWS CloudWatch Events. Providing an existing API stream that can be turned on or off as needed, delivering real time updates to your Amazon S3 data lake.

Key Links:

Frequently Asked Questions: