# Logstash consumers from Kafka never increase beyond a certain count

**URL:** <https://discuss.elastic.co/t/logstash-consumers-from-kafka-never-increase-beyond-a-certain-count/185519>\
**Category:** Logstash\
**Created:** [June 12, 2019, 9:45pm UTC](https://discuss.elastic.co/t/logstash-consumers-from-kafka-never-increase-beyond-a-certain-count/185519 "2019-06-12T21:45:28Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![chakragod](https://avatars.discourse-cdn.com/v4/letter/c/5f9b8f/32.png) [@chakragod](https://discuss.elastic.co/u/chakragod)\
**Post date:** [June 12, 2019, 9:45pm UTC](https://discuss.elastic.co/t/logstash-consumers-from-kafka-never-increase-beyond-a-certain-count/185519/1 "2019-06-12T21:45:28Z")

</div>

Here is our config:

- 64 replicas of Logstash Deployments (run ELK in Kubernetes cluster)
- 64 partitions on the Kafka topic
- 1 consumer thread per Logstash

Resources for Logstash:

- Heap size: 3g
- Cpu: 1000m (per logstash replica)
- Memory: 4Gi

The problem is that Kafka consumers never go above 29. I expect it to go to 64 based on the above configuration.

Can someone help with this?

Thank you.

---

<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 10, 2019, 9:45pm UTC](https://discuss.elastic.co/t/logstash-consumers-from-kafka-never-increase-beyond-a-certain-count/185519/2 "2019-07-10T21:45:32Z")

</div>

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