# Logstash idles out after a duration

**URL:** <https://discuss.elastic.co/t/logstash-idles-out-after-a-duration/255057>\
**Category:** Logstash\
**Created:** [November 11, 2020, 12:28pm UTC](https://discuss.elastic.co/t/logstash-idles-out-after-a-duration/255057 "2020-11-11T12:28:27Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![vyas.radhakrishnan](https://avatars.discourse-cdn.com/v4/letter/v/838e76/32.png) [@vyas.radhakrishnan](https://discuss.elastic.co/u/vyas.radhakrishnan)\
**Post date:** [November 11, 2020, 12:28pm UTC](https://discuss.elastic.co/t/logstash-idles-out-after-a-duration/255057/1 "2020-11-11T12:28:27Z")

</div>

We have a logstash pipeline . Input is a kafka topic , output is elastic search.  
If the topic does not receive any messages for hours , we observe a delay in processing the next message from topic when it comes. The logs have following message

_Group coordinator kafka-2.brokers.:(id: 2147483645 rack: null) is unavailable or invalid, will attempt rediscovery_

Is the logstash idling out as there is no messages in topic. We want to avoid the delay in processing the message which comes to topic after any long idle time.

> **[Kafka input plugin | Logstash Reference \[7.9\] | Elastic](https://www.elastic.co/guide/en/logstash/current/plugins-inputs-kafka.html#plugins-inputs-kafka-connections_max_idle_ms)**

is connections\_max\_idle\_ms the configuration which idles out the connection ? The default value is 9 minutes . But our testing shows it is taking longer that 9 minutes to idle out . So I am not sure if connections\_max\_idle\_ms is the property to modify in this case.

---

<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:** [December 9, 2020, 12:28pm UTC](https://discuss.elastic.co/t/logstash-idles-out-after-a-duration/255057/2 "2020-12-09T12:28:28Z")

</div>

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