Skip to content

Instantly share code, notes, and snippets.

@TinLe
Created April 9, 2015 21:33
Show Gist options
  • Save TinLe/bcd53438ce7cb4131ec3 to your computer and use it in GitHub Desktop.
Save TinLe/bcd53438ce7cb4131ec3 to your computer and use it in GitHub Desktop.
logstash perf test config
=============================================================================
# logstash v1.5.0rc3
input {
stdin {}
}
output {
kafka {
broker_list => "kafka-server:10251"
compression_codec => "gzip"
topic_id => "test_lsv2_logs"
producer_type => "async"
batch_num_messages => "2048"
}
}
===========================================================================
# logstash v1.5.0rc3
input {
stdin {}
}
output {
pipe {
command => "/usr/local/bin/kafkacat -P -b kafka-server:10251 \
-t test_lsv2_logs \
-z gzip -p -1"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment