--

Thank you Ben.

Yes, you could use DynamoDB Streams to propagate changes. But keep in mind that when a service reads the stream of another service the database schema will become part of the API - which may be undesirable.

That's why our team is using it this way: the owning service translates a DynamoDB Stream to domain events and sends them to Event Bridge for inter-service communication.

Note that EventBridge does not guarantee the order of events while DynamoDB Streams guarantees the order (within a shard). So when you want to use EventBridge your application has to deal with out of order events.

--

--

Christian Bannes
Christian Bannes

Written by Christian Bannes

Lead developer. Passionate about designing scalable and performant cloud architectures on AWS.

No responses yet