Skip to content

solrpl/ag-player-csv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ag-player-csv
=================

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

This module generates random CSV file 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-csv-0.0.1.jar pl.solr.ag.csv.ComplexDataPlayerMain
<output_file> <field_names> <event_count> <schema_file>

where:
 * output_file - generated file
 * field_names - comma-delimited list of field to export
 * 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-csv</artifactId>
   	  <version>0.0.1</version>
    </dependency>