# Kafka partition keep rebalancing among the logstash instances

**URL:** <https://discuss.elastic.co/t/kafka-partition-keep-rebalancing-among-the-logstash-instances/118758>\
**Category:** Logstash\
**Created:** [February 7, 2018, 6:24am UTC](https://discuss.elastic.co/t/kafka-partition-keep-rebalancing-among-the-logstash-instances/118758 "2018-02-07T06:24:35Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![shjdwxy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/shjdwxy/32/43102_2.png) [@shjdwxy](https://discuss.elastic.co/u/shjdwxy)\
**Post date:** [February 7, 2018, 6:24am UTC](https://discuss.elastic.co/t/kafka-partition-keep-rebalancing-among-the-logstash-instances/118758/1 "2018-02-07T06:24:35Z")

</div>

I use logstash to consume logs from kafka and insert them to es. The topic has 80 partitions so I have 80 logstash instances to consume the topic. Kafka input of each logstash is configured with one thread and all of logstash instances share the same group id.  
Occasionally I met the problem that "kafka partition keep rebalancing among the logstash instances". When this happened, I have to reduce the num of logstash and reincrease it later. Does any one meet the same problem?

---

<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:** [March 7, 2018, 6:24am UTC](https://discuss.elastic.co/t/kafka-partition-keep-rebalancing-among-the-logstash-instances/118758/2 "2018-03-07T06:24:59Z")

</div>

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