Sha256: e77eb33bfe13ec1ac584d222284c1ac57185aa6d36cfc3db8b8601f8229a93e5

Contents?: true

Size: 843 Bytes

Versions: 2

Compression:

Stored size: 843 Bytes

Contents

# Logstash Codec Thrift

[![Gem Version](https://badge.fury.io/rb/logstash-codec-thrift.svg)](http://badge.fury.io/rb/logstash-codec-thrift)

## Install

    $ ./bin/plugin install logstash-codec-thrift

## Usage

```ruby
input {
  zeromq {
    codec => thrift {
      classname => "example_thrift_class"
      file => "/path/to/your/thrift/gen/ruby/example_thrift_class_types.rb"
      protocol_factory => "JsonProtocolFactory" # optional, defalut: BinaryProtocolFactory
    }
  }
}
```

## Install dependencies

Install jruby:

    $ brew install jruby

Install jruby bundler:

    $ jruby -S gem install bundler

Install plugin dependencies:

    $ jruby -S bundler install

## Build & Install

Build Gem:

    $ gem build logstash-codec-thrift.gemspec

Install Gem:

    $ ./bin/plugin install /your/local/plugin/logstash-codec-thrift.gem

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
logstash-codec-thrift-0.2.0 README.md
logstash-codec-thrift-0.1.1 README.md