Sha256: 46addd747cae3d2a32104567b864cfed6dbc93ce471046f1055f423b3c94a60c

Contents?: true

Size: 279 Bytes

Versions: 9

Compression:

Stored size: 279 Bytes

Contents

module Fluent
  class WebHDFSOutput < Fluent::TimeSlicedOutput
    class TextCompressor < Compressor
      WebHDFSOutput.register_compressor('text', self)

      def ext
        ""
      end

      def compress(chunk, tmp)
        chunk.write_to(tmp)
      end
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
fluent-plugin-webhdfs-0.7.1 lib/fluent/plugin/webhdfs_compressor_text.rb
fluent-plugin-webhdfs-0.7.0 lib/fluent/plugin/webhdfs_compressor_text.rb
fluent-plugin-webhdfs-0.6.1 lib/fluent/plugin/webhdfs_compressor_text.rb
fluent-plugin-webhdfs-0.6.0 lib/fluent/plugin/webhdfs_compressor_text.rb
fluent-plugin-webhdfs-0.5.3 lib/fluent/plugin/webhdfs_compressor_text.rb
fluent-plugin-webhdfs-0.5.2 lib/fluent/plugin/webhdfs_compressor_text.rb
fluent-plugin-webhdfs-0.5.1 lib/fluent/plugin/webhdfs_compressor_text.rb
fluent-plugin-webhdfs-0.5.0 lib/fluent/plugin/webhdfs_compressor_text.rb
fluent-plugin-webhdfs-0.4.2 lib/fluent/plugin/webhdfs_compressor_text.rb