Skip to content

Latest commit

 

History

History
16 lines (15 loc) · 663 Bytes

File metadata and controls

16 lines (15 loc) · 663 Bytes

How to use

  1. Clone repository git clone https://github.com/keksmd/CsvReader.git
  2. Open csvReader catalog cd CsvReader
  3. Start service (you need 8080 port opened) docker-compose up -d
  4. Mount your_file.csv into container (or you may use pre-uploaded value.csv) docker cp path/to/your/file/your_file.csv csvreader-csv-reader-1:/your_file.csv
  5. Start reading file by http-request, also you may configure size of uploading chunk and number of threads
curl -G "http://localhost:8080/csv/reader" \
--data-urlencode "filePath=your_file.csv" \
  --data-urlencode "chunkSize=1" \
  --data-urlencode "threadCount=2"