fluent-plugin-avro provides a formatter plugin for Fluentd.
Either schema_file or schema_json is required.
| Name | Description |
|---|---|
schema_file |
filename of Avro schema |
schema_json |
JSON representation of Avro schema |
<match example.avro>
@type file
path /path/to/output
<formatter>
@type avro
schema_file /path/to/schema.avsc
</formatter>
## You can use schema_json instead of schema_file
# schema_json {"type":"record","name":"example","namespace":"org.example","fields":[{"name":"message","type":"string"}]}
</match>
Apache License, Version 2.0.