Created
April 9, 2015 21:33
-
-
Save TinLe/bcd53438ce7cb4131ec3 to your computer and use it in GitHub Desktop.
logstash perf test config
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
============================================================================= | |
# 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