Closed mjendza closed 3 years ago
from http://www.kamilgrzybek.com/design/the-outbox-pattern/
With the DynamoDB stream:
stream: StreamViewType.NEW_AND_OLD_IMAGES,
and lambda handler:
lambda.addEventSource( new DynamoEventSource(users, { startingPosition: StartingPosition.LATEST, }) );
we can publish accepted (confirmed by DynamoDB) changes in the Database and publish events like on the screen:
from http://www.kamilgrzybek.com/design/the-outbox-pattern/
With the DynamoDB stream:
and lambda handler:
we can publish accepted (confirmed by DynamoDB) changes in the Database and publish events like on the screen: