# What happen when logstash kafka input die?

**URL:** https://discuss.elastic.co/t/what-happen-when-logstash-kafka-input-die/56056
**Category:** Logstash
**Created:** [July 21, 2016, 4:18am UTC](https://discuss.elastic.co/t/what-happen-when-logstash-kafka-input-die/56056 "2016-07-21T04:18:12Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![xluffy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/xluffy/32/10996_2.png) [@xluffy](https://discuss.elastic.co/u/xluffy)
#### Post date: [July 21, 2016, 4:18am UTC](https://discuss.elastic.co/t/what-happen-when-logstash-kafka-input-die/56056/1 "2016-07-21T04:18:12Z")

</div>

I use logstash for collecting log from Kafka and output to file. My logstash like a consumer. In document of Kafka, i see `auto.commit.enable` for detect position log when consumer fail. With logstash-input-kafka plugin, i don't see this config.

How about logstash detect position in kafka topic if it die.

Thanks

---

<div class="post-metadata">

### Author: ![Joe\_Lawson](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/joe_lawson/32/3390_2.png) [@Joe\_Lawson](https://discuss.elastic.co/u/Joe_Lawson)
#### Post date: [August 3, 2016, 5:59pm UTC](https://discuss.elastic.co/t/what-happen-when-logstash-kafka-input-die/56056/2 "2016-08-03T17:59:23Z")

</div>

What version of the plugin are you using? ([https://www.elastic.co/guide/en/logstash/current/working-with-plugins.html](https://www.elastic.co/guide/en/logstash/current/working-with-plugins.html))

With some of the orginal plugins auto offset commit was just the default behavior. With later versions the setting is exposed ([https://github.com/logstash-plugins/logstash-input-kafka/blob/master/lib/logstash/inputs/kafka.rb#L80](https://github.com/logstash-plugins/logstash-input-kafka/blob/master/lib/logstash/inputs/kafka.rb#L80)).

Version number will help answer your question.

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [July 6, 2017, 4:45am UTC](https://discuss.elastic.co/t/what-happen-when-logstash-kafka-input-die/56056/3 "2017-07-06T04:45:04Z")

</div>


