Open sbbird opened 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
- M lib/logstash/inputs/kafka.rb https://github.com/joekiller/logstash-kafka/pull/32/files#diff-0 (23)
- M lib/logstash/outputs/kafka.rb https://github.com/joekiller/logstash-kafka/pull/32/files#diff-1 (30)
Patch Links:
- https://github.com/joekiller/logstash-kafka/pull/32.patch
- https://github.com/joekiller/logstash-kafka/pull/32.diff
— Reply to this email directly or view it on GitHub https://github.com/joekiller/logstash-kafka/pull/32.
The configure option will be like:
kafka{ ... logstash_stop_on_exception_repeat => 3 ... # number (optional), default: 0 (never stop) ... }
0 for never stop