No commit activity in last 3 years
No release in over 3 years
Apache Arrow formatter plugin for fluentd.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.14
~> 12.0
~> 3.0

Runtime

>= 0.14.10, < 2
>= 0.12
 Project Readme

fluent-plugin-arrow

Fluentd buffer plugin to output Apache Arrow and Parquet format.

Prerequisite

Installation

RubyGems

$ gem install fluent-plugin-arrow

Bundler

Add following line to your Gemfile:

gem "fluent-plugin-arrow"

And then execute:

$ bundle

Configuration

You can generate configuration template:

<match arrow>
  @type file

  path arrow_test

  <buffer>
    @type arrow_memory
    arrow_format arrow # or parquet

    schema [
      {"name": "key1", "type": "string"},
      {"name": "key2", "type": "uint64"},
      {"name": "key3", "type": "timestamp", "unit": "milli"},
      {"name": "key4", "type": "list", "field": {"name": "value", "type": "uint64"}},
      {"name": "key5", "type": "struct", "fields": [
        {"name": "bar1", "type": "uint64"},
        {"name": "bar2", "type": "list", "field": {"name": "value", "type": "string"}}
      ]}
    ]
  </buffer>

  <format>
    @type arrow
  </format>
</match>

You can copy and paste generated documents here.

Copyright

  • Copyright(c) 2018- joker1007
  • License
    • Apache License, Version 2.0