CodeGenieApp / CodeGenieApp/serverless-express

eventSource with many records

Open
#395 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
5.3k
Forks
676
PR merge metrics
No merged PRs in 30d

Description

Could you please provide some example how to handle records n+1 size?
For example I need to handle stream of events form SNS.

```js
exports.handler = async (event, context) => {

event.Records.forEach((record) => {
console.log('Stream record: ', JSON.stringify(record, null, 2));
});

// ???

};
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.