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.

preguntada hace un año259 visualizaciones
1 Respuesta
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
respondido hace un año
  • 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.

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas