aws-samples / aws-lambda-extensions

A collection of sample extensions to help you get started with AWS Lambda Extensions
MIT No Attribution
445 stars 146 forks source link

add sample for lambda extension to kinesis data stream #59

Closed ravinaik1312 closed 2 years ago

ravinaik1312 commented 2 years ago

Issue #, if available: #58

Description of changes: The extension explains the overall approach to streamline and centralize log collection using Kinesis Data Streams. The extension runs a local HTTP listener and subscribes to a stream of function and platform logs using the Logs API. It buffers them and sends them to Kinesis Data Streams periodically. The demo gets deployed using AWS SAM. This contribution was possible because of @hariohmprasath 's awesome previous work( for Kinesis Firehose) which I could use as a reference and only change the parts pertaining to Kinesis Data Streams.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

julianwood commented 2 years ago

Thanks for the contribution.