Class: Fluent::Plugin::S3Output::TextCompressor
Instance Attribute Summary
Attributes inherited from Compressor
#buffer_type, #log
Instance Method Summary
collapse
Methods inherited from Compressor
#configure, #initialize
Instance Method Details
#compress(chunk, tmp) ⇒ Object
662
663
664
|
# File 'lib/fluent/plugin/out_s3.rb', line 662
def compress(chunk, tmp)
chunk.write_to(tmp)
end
|
#content_type ⇒ Object
658
659
660
|
# File 'lib/fluent/plugin/out_s3.rb', line 658
def content_type
'text/plain'.freeze
end
|
#ext ⇒ Object
654
655
656
|
# File 'lib/fluent/plugin/out_s3.rb', line 654
def ext
'txt'.freeze
end
|