Skip to content
This repository has been archived by the owner on Oct 15, 2020. It is now read-only.

DynamoDB Streams #1

Closed
wants to merge 4 commits into from
Closed

Conversation

kiril-pirozenko-home24
Copy link

No description provided.

@@ -0,0 +1,15 @@
{

Choose a reason for hiding this comment

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

??? what's this mess?

@@ -67,5 +71,21 @@ module.exports = function createTable(store, data, cb) {
})
})
})
}

function toStreamLabelString(date) {

Choose a reason for hiding this comment

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

Why not take zulu time and remove zulu part?

@@ -29,7 +31,49 @@ module.exports = function putItem(store, data, cb) {

itemDb.put(key, data.Item, function(err) {
if (err) return cb(err)
cb(null, returnObj)

if (table.LatestStreamArn) {

Choose a reason for hiding this comment

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

This code is (almost) duplicated with delete / put actions

@kiril-pirozenko-home24
Copy link
Author

Closing in favour of architect#67

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

Successfully merging this pull request may close these issues.

3 participants