# Logstash Kafka input loosing events

**URL:** https://discuss.elastic.co/t/logstash-kafka-input-loosing-events/90746
**Category:** Logstash
**Created:** [June 25, 2017, 7:38am UTC](https://discuss.elastic.co/t/logstash-kafka-input-loosing-events/90746 "2017-06-25T07:38:17Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![guy\_es](https://avatars.discourse-cdn.com/v4/letter/g/67e7ee/32.png) [@guy\_es](https://discuss.elastic.co/u/guy_es)
#### Post date: [June 25, 2017, 7:38am UTC](https://discuss.elastic.co/t/logstash-kafka-input-loosing-events/90746/1 "2017-06-25T07:38:17Z")

</div>

Hi All,

I use logstash 2.4.1 with logstash-input-kafka=5.1.6 and output to ES 2.4, kafka 0.10, 160 partitions.  
I insert 1000 events to a kafka topic and only about half of the events are being written to ES, I don't see any errors.

If I increase the number of consumer\_threads to 160 almost all the events are being written to ES, but no all.

In any case even one consumer\_group should fetch all the events even if slower.

What could be the problem?

Thanks  
Guy

---

<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 23, 2017, 7:38am UTC](https://discuss.elastic.co/t/logstash-kafka-input-loosing-events/90746/2 "2017-07-23T07:38:34Z")

</div>

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