profile_conf

in benchmark/task.rake [27:72]


def profile_conf(type, rate, server)
  additional_conf = case type
                  when 'streams', 'firehose'
                    <<-EOS
  endpoint https://localhost:
  ssl_verify_peer false
                    EOS
                  when 'producer'
                    <<-EOS
  debug true
  <kinesis_producer>
    custom_endpoint localhost
    port 
    verify_certificate false
    record_max_buffered_time 1000
    log_level error
  </kinesis_producer>
                    EOS
                  end

  conf = <<-EOS
<source>
  @type dummy
  tag dummy
  rate 
</source>

<match dummy>
  @type kinesis_
  flush_interval 1
  buffer_chunk_limit 1m
  try_flush_interval 0.1
  queued_chunk_flush_interval 0.01
  @log_level debug

  num_threads 100

  region ap-northeast-1
  stream_name fluent-plugin-test


</match>
  EOS
  conf
end