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
560
561
562
|
# File 'lib/fluent/plugin/out_s3.rb', line 560
def compress(chunk, tmp)
chunk.write_to(tmp)
end
|
#content_type ⇒ Object
556
557
558
|
# File 'lib/fluent/plugin/out_s3.rb', line 556
def content_type
'text/plain'.freeze
end
|
#ext ⇒ Object
552
553
554
|
# File 'lib/fluent/plugin/out_s3.rb', line 552
def ext
'txt'.freeze
end
|