fluent-plugin-avro

Build Status

fluent-plugin-avro provides a formatter plugin for Fluentd.

Configurations

Either schema_file or schema_json is required.

Name Description
schema_file filename of Avro schema
schema_json JSON representation of Avro schema

Example

<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>

License

Apache License, Version 2.0.