gpt4 book ai didi

amazon-dynamodb-streams - 重新分区后的 DynamoDB 流行为

转载 作者:行者123 更新时间:2023-12-04 08:43:31 25 4
gpt4 key购买 nike

我假设使用 Kinesis 库从 DynamoDB 流中读取将始终为具有相同分区键的记录提供有序的事件序列。

对吗?

如果发生重新分区,库是否仍会为我提供相同分区键的所有表事件的有序记录?

最佳答案

关于顺序问题:是的,你会按时间顺序阅读更新。来自documentation :

DynamoDB Streams captures a time-ordered sequence of item-level modifications in any DynamoDB table, and stores this information in a log for up to 24 hours. Applications can access this log and view the data items as they appeared before and after they were modified, in near real time.

重新分区只是另一种类型的表更新,不会为旧更新修改日志文件。所以是的,您将在重新分区后阅读相同的更新顺序。

关于amazon-dynamodb-streams - 重新分区后的 DynamoDB 流行为,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/37778706/

25 4 0