Sha256: 6ef9ef1341911fb9e190df6be782d00bc2f5f5622f355f59a73bc60a764b0586

Contents?: true

Size: 906 Bytes

Versions: 2

Compression:

Stored size: 906 Bytes

Contents

# Avro formatter plugin for Embulk

[Avro](http://avro.apache.org/) formatter plugin for Embulk.

## Overview

* **Plugin type**: formatter

## Support avro types

Support all avro basic types.

- string
- int
- long
- float
- double
- boolean
- enum
- fixed
- array
- map
- record

But typecasting is restricted by embulk column type.
See. [AvroValueConverters](https://github.com/joker1007/embulk-formatter-avro/tree/master/src/main/java/org/embulk/formatter/avro/converter),

## Configuration

- **avsc**: avro schema (avsc) filepath (string, required)
- **skip\_error\_record**: If you want to skip error record, set true (boolean, default: `false`)

## Example

```yaml
out:
  type: file
  path_prefix: ./out_
  file_ext: avro
  formatter:
    type: avro
    avsc: schema.avsc
    skip_error_record: true
```


## Build

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
embulk-formatter-avro-0.1.1 README.md
embulk-formatter-avro-0.1.0 README.md