What are the dependencies for the MongoDB Handler to connect to MongoDB databases?
Oracle GoldenGate requires that you use the 3.4.3 MongoDB Java Driver or higher integration with MongoDB. You can download this driver from:
http://mongodb.github.io/mongo-java-driver/
Topics:
You must include the path to the MongoDB Java driver in the gg.classpath
property. To automatically download the Java driver from the Maven central repository, add the following lines in the pom.xml
file, substituting your correct information:
<!-- https://mvnrepository.com/artifact/org.mongodb/mongo-java-driver --> <dependency> <groupId>org.mongodb</groupId> <artifactId>mongo-java-driver</artifactId> <version>3.4.3</version> </dependency>
Parent topic: MongoDB Handler Client Dependencies