# Commons Compress Encoder plugin for Embulk

This encoder plugin supports to encode a format like bzip2 and gzip.

## Overview

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

## Configuration

- **format**: File format like bzip2, gzip (string, required)

## Example

```yaml
out:
  type: file
  path_prefix: any path
  file_ext: .csv.bz2
  formatter:
    type: csv
  encoders:
  - type: commons-compress
    format: bzip2
```

## Build

```
$ ./gradlew gem
```

# Commons Compress Encoder plugin for Embulk

This encoder plugin supports to encode a format like bzip2 and gzip.

## Overview

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

## Configuration

- **format**: File format like bzip2, gzip (string, required)

## Example

```yaml
out:
  type: file
  path_prefix: any path
  file_ext: csv.bz2
  formatter:
    type: csv
  encoders:
  - type: commons-compress
    format: bzip2
```

## Build

```
$ ./gradlew gem
```

Change file_ext in example from .csv.bz2 to csv.bz2 .
Change file_ext in example from .csv.bz2 to csv.bz2 .
