5 ms·
That's a really use case for DynamoDB Streams! Shameless plug: if you'd like to implement this pattern with other databases such as Postgres or MySQL, take a lo
by gunnarmorling 5y ago
That's a really use case for DynamoDB Streams! Shameless plug: if you'd like to implement this pattern with other databases such as Postgres or MySQL, take a look at Debezium (debezium.io), which provides open-source change data capture support for a range of databases. Mostly, this is used with Apache Kafka, but you also can run Debezium embedded into your JVM application. Probably should do a blog post too showing how to integrate that with AWS Lambda :)
Disclaimer: I work on Debezium
- lbhdc 5y agoCan you recommend a guide for embedding Debezium?
- gunnarmorling 5y agoThe reference documentation is a good starting point: https://debezium.io/documentation/reference/1.5/development/engine.html https://debezium.io/documentation/reference/1.5/development/.... It may also be interesting to look into the implementation of Debezium Server (https://github.com/debezium/debezium/tree/master/debezium-server https://github.com/debezium/debezium/tree/master/debezium-se...), which is based on the embedded engine and allows to propagate change events to streaming platforms other than Kafka, such as Apache Pulsar, AWS Kinesis, GCP Cloud Pub/Sub, etc.