# Do we need persistent queues if using Kafka input?

**URL:** <https://discuss.elastic.co/t/do-we-need-persistent-queues-if-using-kafka-input/154038>\
**Category:** Logstash\
**Created:** [October 25, 2018, 3:55pm UTC](https://discuss.elastic.co/t/do-we-need-persistent-queues-if-using-kafka-input/154038 "2018-10-25T15:55:13Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![javadevmtl](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/javadevmtl/32/45613_2.png) [@javadevmtl](https://discuss.elastic.co/u/javadevmtl)\
**Post date:** [October 25, 2018, 3:55pm UTC](https://discuss.elastic.co/t/do-we-need-persistent-queues-if-using-kafka-input/154038/1 "2018-10-25T15:55:13Z")

</div>

If Logstash fails while inserting to Elastic but it has already committed the Kafka offset, we can lose data right?

---

<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:** [November 22, 2018, 3:55pm UTC](https://discuss.elastic.co/t/do-we-need-persistent-queues-if-using-kafka-input/154038/2 "2018-11-22T15:55:15Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
