Posted On: Oct 29, 2020
Amazon DocumentDB (with MongoDB compatibility) is a fast, scalable, highly available, and fully managed document database service that supports MongoDB workloads. Amazon DocumentDB makes it easy and intuitive to store, query, and index JSON data.
The change streams feature provides a time ordered sequence of update events that occur within your cluster’s collections and databases. You can read from the change stream to implement use cases such as change notifications, cross-region replication, full text search with Amazon Elasticsearch Service, analytics with Amazon Redshift integration, and many more. Applications can use change streams to subscribe to all data changes on a cluster, database, or on individual collections.
Today, Amazon DocumentDB added the ability to open a change stream cursor at the cluster level (client.watch() or mongo.watch()) and the database (db.watch()). With this release you can also extend your change stream retention period to 7 days (previously 24 hours). For more information, please see the change streams documentation.