Connect to Amazon DocumentDB
Learn to create a connection to Amazon DocumentDB in OCI GoldenGate.
Before you begin
Ensure that you review the following resources:
- Amazon DocumentDB doesn't allow connections outside of the Amazon VPC, so you must configure Site-to-Site VPN or FastConnect to connect Amazon DocumentDB from OCI GoldenGate.
- How OCI GoldenGate connects to your sources and targets.
- Configure the required policies to enable secure Vault and Secrets access, such as use secrets, use vaults, and read secret-bundles. For more information, see Minimum recommended policies.
Create the connection
To create the connection:
After the connection is created, it appears in the Connections list.
Ensure that you assign the connection to a deployment to use it as a source or target in
a replication.
Known issues with Amazon DocumentDB connections
MongoDB, DocumentDB, and Oracle JSON Collection TLS Security Protocol
The MongoDB Replicat, DocumentDB Replicat, or Oracle JSON Collection
connection fails with the following error in the Report
file:
Error: Caused by: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
Workaround: Add the following property to your Properties file, update
<connection_ocid> with your connection OCID and keep the rest
as is.
jvm.bootoptions=-Djavax.net.ssl.trustStore=/u02/connections/<connection_ocid>/truststore.pkcs12 -Djavax.net.ssl.trustStorePassword=Welcome123