Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adaptor for dynamodb streams #347

Merged
merged 3 commits into from
Nov 6, 2019
Merged

Conversation

sakthivel-pro
Copy link

Adaptor support for dynamodb streams #152

@sakthivel-pro
Copy link
Author

A few information on some of the choices:

@ceilfors ceilfors requested a review from a team October 19, 2019 19:34
@ceilfors
Copy link
Collaborator

Hey @sakthivel-tw. Thank you so much for your contribution! I'm currently on leave for 2 weeks, I'll aim to have a look into this one at the end of next week.

Copy link
Collaborator

@ceilfors ceilfors left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @sakthivel-tw. Thanks for your patience as I just got back from my holiday. This PR looks perfect to me and I'm happy to merge it (it's in Draft status at the moment).

The choice of using AWS.DynamoDB.Convert to unmarshall is great, I didn't know that such utility exist.

@@ -7,5 +8,6 @@ const createEventAdapter = require("./createEventAdapter");
exports.sns = createEventAdapter(new SnsJsonInputConverter());
exports.sqs = createEventAdapter(new SqsJsonInputConverter());
exports.kinesis = createEventAdapter(new KinesisJsonInputConverter());
exports.dynamodb = createEventAdapter(new DynamoDbStreamJsonInputConvertor());
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Typo: Converter instead of Convertor

@@ -0,0 +1,97 @@
const merge = require("lodash/merge");
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great test!

@ceilfors ceilfors marked this pull request as ready for review November 6, 2019 06:15
@ceilfors ceilfors merged commit 21e37d5 into nearst:master Nov 6, 2019
@ceilfors
Copy link
Collaborator

@all-contributors please add @sakthivel-tw for code

@allcontributors
Copy link
Contributor

@ceilfors

I've put up a pull request to add @sakthivel-tw! 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants