Class: Fluent::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
463
464
465
|
# File 'lib/fluent/plugin/out_s3.rb', line 463
def compress(chunk, tmp)
chunk.write_to(tmp)
end
|
#content_type ⇒ Object
459
460
461
|
# File 'lib/fluent/plugin/out_s3.rb', line 459
def content_type
'text/plain'.freeze
end
|
#ext ⇒ Object
455
456
457
|
# File 'lib/fluent/plugin/out_s3.rb', line 455
def ext
'txt'.freeze
end
|