DocumentDB
DocumentDB is Amazon's fork of MongoDB which have some minor behavioral differences. In this guide, we will go over how to collect the necessary information to replicate from DocumentDB.
Introduction
We will be running Debezium to fetch CDC logs from DocumentDB by using Change Streams which is a more performant and reliable approach than tailing the oplog
.
To run Artie with DocumentDB, you must have SSH tunnels enabled as DocumentDB only allows access within your VPC. See Enabling SSH Tunneling for instructions!
Finding your DocumentDB settings
This is necessary so that we are able to run a Debezium deployment to subscribe to Change Events within your MongoDB cluster. To see additional configuration properties, please click here to see Debezium's documentation.
Name | Description |
---|---|
Cluster endpoint | Click on your DocumentDB cluster and you will find this under |
Port | The default port is |
Username | Username for authentication into your database. |
Password | Password for authentication into your database. |
Enabling change streams and creation of a service account
Supported types
Types are sourced from the MongoDB extended JSON specification.
Array
Binary
Array
Boolean
ObjectID
Int32
Int64
Double
Decimal128
Code
CodeWScope
RegEx
Datetime
Timestamp
String
Last updated