Global Table Replication

0

Have a global table created in east region and it gets replicated to west region for DR. When we create a lambda trigger on the stream it get triggered in both regions i.e. double replication. Is there a way to just trigger replication in east and not in west to avoid dual replication.

已提问 1 年前259 查看次数
1 回答
0

The convention is to add an attribute (yourself) to store the region where the item was inserted/updated and have the Lambda only process items where the attribute is its local region. You can use Lambda event filtering to easily filter away non-local items before the Lambda is even invoked.

AWS
已回答 1 年前
  • Can you please provide more information on how to do the filtering before lambda is invoked. Is lambda filtering supported on global tables.

  • Can you please provide more information on how to do the filtering before lambda is invoked. Is lambda filtering supported on global tables.

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则