Skip to content

solrpl/ag-player-mongodb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ag-player-mongodb
=================

MongoDB module for Action Generator (https://github.com/sematext/ActionGenerator).

This module generates random mongoDB collection with defined structure. For example of structure definition
see: https://github.com/solrpl/data-model#readme

Running:

java -cp ag-player-solr-0.1.3-withdeps.jar:ag-player-mongodb-0.0.1.jar pl.solr.ag.mongodb.ComplexDataPlayerMain
<host> <port> <db_name> <collection_name> <event_count> <schema_file>

where:
 * host - address of mongodb server
 * port - port of mongodb (default configuration: 27017)
 * db_name - database used for record generation
 * collection_name - where generated record should be written
 * event_count - how many record should be generated (note: Action Generated by default use several threads and event_count applies to a single thread)
 * schema_file - JSON file with definition of record structure
 
This module is released under Apache License, Version 2.0 and available in sonatype repository: 
https://oss.sonatype.org/content/groups/public/

You can use it in maven with:

    <dependency>
   	  <groupId>pl.solr.ag</groupId>
   	  <artifactId>ag-player-mongodb</artifactId>
   	  <version>0.0.1</version>
    </dependency>

About

MongoDB module for Action Generator

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages