Skip to content

Latest commit

 

History

History

embulk-input-example

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Example input plugin for Embulk with embulk-base-restclient

Build

$ ./gradlew gem  # -t to watch change of files and rebuild continuously

Example Configuration

exec:
  min_output_tasks: 1
in:
  type: example
out:
  type: file
  path_prefix: /tmp/test.outout
  file_ext: csv
  formatter:
    type: csv
    charset: UTF-8
    delimiter: ','
    newline: CRLF
    quote: '"'
    escape: '\'

Example Run

embulk-input-example$ cat src/test/resources/test.input.txt | nc -l 8080
embulk$ env RUBYLIB=./lib java -cp ".:embulk-cli/build/libs/embulk-cli-0.8.15-all.jar" org.embulk.cli.Main run -I ../embulk-input-example/lib example.yml