Does bulk insertion of documents in a collection using Spring Data Framework for MongoDB.
Connects to a replica set and bulk inserts a number of random documents. Uses the application.properties to configure connection.
- Uses properties file to point to the MongoURI
- Documents are sent to the products collection in a user defined database.
This sample application is provided to demonstrate integration capability. Users should review this code for component versioning and overall applicability for their own use case.