File tree Expand file tree Collapse file tree 2 files changed +16
-1
lines changed Expand file tree Collapse file tree 2 files changed +16
-1
lines changed Original file line number Diff line number Diff line change @@ -5,12 +5,27 @@ kinesis-stream-lambda
55[ ![ Build Status] ( https://travis-ci.org/tilfin/kinesis-stream-lambda.svg?branch=master )] ( https://travis-ci.org/tilfin/kinesis-stream-lambda )
66[ ![ Coverage Status] ( https://coveralls.io/repos/github/tilfin/kinesis-stream-lambda/badge.svg?branch=master )] ( https://coveralls.io/github/tilfin/kinesis-stream-lambda?branch=master )
77
8+ ## Features
9+
10+ * Easily reads a Lambda event of Kinesis Stream as a stream handling the chunk as Buffer
11+ * Supports KPL aggregation (set opts.isAgg true)
12+ * Provides KSL.parseJSON transform to handle items expanded array data in one record (set opts.expandArray true)
13+ * Node.js 4.3 or Later
14+
815## How to install
916
1017```
1118$ npm install -save kinesis-stream-lambda
1219```
1320
21+ ### KPL aggregation only
22+
23+ furthermore,
24+
25+ ```
26+ $ npm install -save aws-kinesis-agg
27+ ```
28+
1429## Lambda handler example
1530
1631``` javascript
Original file line number Diff line number Diff line change 11{
22 "name" : " kinesis-stream-lambda" ,
3- "version" : " 0.5 .0" ,
3+ "version" : " 0.6 .0" ,
44 "description" : " Readable stream in Lambda for Kinesis Stream" ,
55 "main" : " lib/index.js" ,
66 "scripts" : {
You can’t perform that action at this time.
0 commit comments