Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/kamatama41/embulk-output-multi

Embulk output plugin to dump records into multiple destinations.
https://github.com/kamatama41/embulk-output-multi

embulk embulk-output-plugin java

Last synced: 7 days ago
JSON representation

Embulk output plugin to dump records into multiple destinations.

Awesome Lists containing this project

README

        

# Multi output plugin for Embulk

This plugin copies an output to multiple destinations.

### Notes
- It's still very experimental version, so might change its configuration names or styles without notification.
- As this plugin performs multiple output methods, it might have a performance issue with large records.
- It might not work on other executors than LocalExecutor.
- I would appreciate it if you use this and give me reports/feedback!

## Overview

* **Plugin type**: output
* **Load all or nothing**: no
* **Resume supported**: yes
* **Cleanup supported**: yes

## Configuration

- **outputs**: Configuration of output plugins (array, required)

## Example

```yaml
out:
type: multi
outputs:
# Output to stdout
- type: stdout
# Output to files as CSV
- type: file
path_prefix: out_file_
file_ext: csv
formatter:
type: csv
# Output to files as TSV
- type: file
path_prefix: out_file_
file_ext: tsv
formatter:
type: csv
delimiter: "\t"
# And any outputs you want..
- type: ...
```

## Build

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