class Fluent::Plugin::S3Output::Compressor
Attributes
Public Class Methods
Source
# File lib/fluent/plugin/out_s3.rb, line 600 def initialize(opts = {}) super() @buffer_type = opts[:buffer_type] @log = opts[:log] end
Calls superclass method
Public Instance Methods
Source
# File lib/fluent/plugin/out_s3.rb, line 618 def compress(chunk, tmp) end
Source
# File lib/fluent/plugin/out_s3.rb, line 608 def configure(conf) super end
Calls superclass method
Private Instance Methods
Source
# File lib/fluent/plugin/out_s3.rb, line 623 def check_command(command, algo = nil) require 'open3' algo = command if algo.nil? begin Open3.capture3("#{command} -V") rescue Errno::ENOENT raise Fluent::ConfigError, "'#{command}' utility must be in PATH for #{algo} compression" end end