Home › Forums › AWS › AWS Certified Developer Associate › Streaming one DynamoDB database changes to another DynamoDB database › Reply To: Streaming one DynamoDB database changes to another DynamoDB database
-
Hello vadym,
Thank you for your feedback.
The Kinesis Data Stream support for DynamoDB was recently added when this question was created. So by default, I made sure that all answers related to Amazon Kinesis are automatically crossed out. However, I admit that the rationale that I provided was poor and somewhat confusing.
Let me clear this one out:
“Using the Amazon Kinesis Adapter is the recommended way to consume streams from Amazon DynamoDB. Since DynamoDB Streams API is intentionally similar to that of Kinesis Data Streams, a service for real-time processing of streaming data at a massive scale, there’s no need to use Amazon Kinesis.”.
>> This statement refers to the “processing” of records from a stream (can be DynamoDB stream or Kinesis Data Stream) which can be done via KCL or DynamoDB Streams API. It does not pertain to the “capturing” of changes.
To stream changes from one DynamoDB table to another, you must:
1. Enable DynamoDB Stream or Kinesis Data Stream.
2. Poll the changes from the stream using a Lambda function or a KCL application.
We will revise this item so it wouldn’t cause confusion for others as well.
Let me know if you have any other queries.
Regards,
Carlo @ Tutorials Dojo