Class: Fluent::Plugin::S3Output::JsonCompressor

Inherits:
TextCompressor show all
Defined in:
lib/fluent/plugin/out_s3.rb

Instance Attribute Summary

Attributes inherited from Compressor

#buffer_type, #log

Instance Method Summary collapse

Methods inherited from TextCompressor

#compress

Methods inherited from Compressor

#compress, #configure, #initialize

Constructor Details

This class inherits a constructor from Fluent::Plugin::S3Output::Compressor

Instance Method Details

#content_typeObject



517
518
519
# File 'lib/fluent/plugin/out_s3.rb', line 517

def content_type
  'application/json'.freeze
end

#extObject



513
514
515
# File 'lib/fluent/plugin/out_s3.rb', line 513

def ext
  'json'.freeze
end