Skip to content
A simple Spring Boot project to populate MongoDB collections with random, sample data.
Java
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src/main/java/com/contactsunny/poc/MongoSampleDataLoader
.gitignore
LICENSE
README.md
pom.xml

README.md

MongoDB Sample Data Loader

How to run

The program takes four arguments:

  1. MongoDB connection string
  2. MongoDB database name
  3. Target collection name
  4. Number of records to generate

Command

java -jar MongoSampleDataLoader.java mongodb://localhost:27017 drill sampleData 10000
You can’t perform that action at this time.