Serverless framework plugin to configure lambda functions to transform Kinesis Firehose delivery streams
$ npm install --save kinesis-firehose-serverless-plugin
Add the plugin to your serverless.yml
# serverless.yml
plugins:
- kinesis-firehose-serverless-plugin
Add a firehose event to your function
# serverless.yml
functions:
firehoseConsumer:
handler: handler.consume
events:
- firehose:
deliveryStreamName: my-delivery-stream
numberOfRetries: '1'
bufferSizeInMBs: '1' # Between 1.0 and 3
bufferIntervalInSeconds: '900' # Between 60 and 900