Skip to content

Latest commit

 

History

History
13 lines (8 loc) · 553 Bytes

File metadata and controls

13 lines (8 loc) · 553 Bytes

SpringDataBulkInsert

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.