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
513
514
515
|
# File 'lib/fluent/plugin/out_s3.rb', line 513
def compress(chunk, tmp)
chunk.write_to(tmp)
end
|
#content_type ⇒ Object
509
510
511
|
# File 'lib/fluent/plugin/out_s3.rb', line 509
def content_type
'text/plain'.freeze
end
|
#ext ⇒ Object
505
506
507
|
# File 'lib/fluent/plugin/out_s3.rb', line 505
def ext
'txt'.freeze
end
|