joekiller / logstash-kafka

Kafka plugin for Logstash
Apache License 2.0
206 stars 63 forks source link

Add a configure option that logstash will stop on an exception repeats for several times #32

Open sbbird opened 10 years ago

sbbird commented 10 years ago

The configure option will be like:

kafka{ ... logstash_stop_on_exception_repeat => 3 ... # number (optional), default: 0 (never stop) ... }

0 for never stop

joekiller commented 10 years ago

Thanks for this. I'll review it soon. On Aug 18, 2014 5:42 AM, "sbbird.zhu" notifications@github.com wrote:

The configure option will be like:

kafka{ ... logstash_stop_on_exception_repeat => 3 ... # number (optional), default: 0 (never stop) ... }

0 for never stop

You can merge this Pull Request by running

git pull https://github.com/sbbird/logstash-kafka stop-on-exception-repeats

Or view, comment on, or merge it at:

https://github.com/joekiller/logstash-kafka/pull/32 Commit Summary

  • Add a configure option so that logstash will stop on an exception repeats for several times. The default value is 0, which implies logstash never stop.
  • Added the same configuration option on input.

File Changes

Patch Links:

— Reply to this email directly or view it on GitHub https://github.com/joekiller/logstash-kafka/pull/32.