Skip to content
Embulk decoder plugin that exec another process.
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.
config/checkstyle
lib/embulk
src
.gitignore
LICENSE.txt
README.md Rename repository from exec to command Jul 15, 2018
build.gradle
gradlew
gradlew.bat

README.md

embulk-decoder-command

Command decoder plugin for Embulk.

Embulk decoder plugin that exec another process.

This plugin implement like this command image.

$ embulk-input-plugin | lzop -dc | embulk-filter-plugin | ...
                        ^^^^^^^^
                         (here)

You can decode input with any process.

Overview

  • Plugin type: decoder
  • Guess supported: no

Configuration

  • command: exec command (string, required)

Example

in:
  type: any output input plugin type
  decoders:
    - type: command
      command: lzop -dc

(If guess supported) you don't have to write decoder: section in the configuration file. After writing in: section, you can let embulk guess decoder: section using this command:

$ embulk gem install embulk-decoder-command
$ embulk guess -g exec config.yml -o guessed.yml

Build

$ ./gradlew gem  # -t to watch change of files and rebuild continuously
You can’t perform that action at this time.