# Logstash kafka input consumer group not finding all partitions

**URL:** <https://discuss.elastic.co/t/logstash-kafka-input-consumer-group-not-finding-all-partitions/277741>\
**Category:** Logstash\
**Tags:** docker\
**Created:** [July 4, 2021, 4:09pm UTC](https://discuss.elastic.co/t/logstash-kafka-input-consumer-group-not-finding-all-partitions/277741 "2021-07-04T16:09:30Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bakkali\_Amine](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bakkali_amine/32/91129_2.png) [@Bakkali\_Amine](https://discuss.elastic.co/u/Bakkali_Amine)\
**Post date:** [July 4, 2021, 4:09pm UTC](https://discuss.elastic.co/t/logstash-kafka-input-consumer-group-not-finding-all-partitions/277741/1 "2021-07-04T16:09:30Z")

</div>

I have a topic with two partitions but logstash consume only one of them.  
"Adding newly assigned partitions: partition-0", it is missing the other partition. And when I delete my logstash pod (I'm on kubernetes) it randomly assigns a partition.

this is my input configuration:

```auto
input {
     kafka {
       bootstrap_servers => "X"
       topics => "topic-x"
       consumer_threads => 1
       }
     }

```

Can someone help fix this?  
Thank you in advance

---

<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:** [August 1, 2021, 4:10pm UTC](https://discuss.elastic.co/t/logstash-kafka-input-consumer-group-not-finding-all-partitions/277741/2 "2021-08-01T16:10:26Z")

</div>

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