# Error while consuming from topic

**URL:** <https://discuss.elastic.co/t/error-while-consuming-from-topic/129610>\
**Category:** Logstash\
**Created:** [April 26, 2018, 8:26am UTC](https://discuss.elastic.co/t/error-while-consuming-from-topic/129610 "2018-04-26T08:26:55Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![elasticheart](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/elasticheart/32/65189_2.png) [@elasticheart](https://discuss.elastic.co/u/elasticheart)\
**Post date:** [April 26, 2018, 8:26am UTC](https://discuss.elastic.co/t/error-while-consuming-from-topic/129610/1 "2018-04-26T08:26:55Z")

</div>

Hi,

I am using ELK GA 5.0.0. I am using Logstash to consume from Kafka topic and my configuration is like below;

```
input {
	kafka{
		group_id => "logstash-ga5-group"
		topics => ["testtopic"]
		bootstrap_servers => "192.168.0.1:9092,192.168.0.2:9092,192.168.0.3:9092"
	}
}

output{
  stdout{}
}

```

I am able to see data using my Kafka console consumer. When I rin Logstash, I am geting the error below;

```
[2018-04-26T14:05:53,994][WARN][org.apache.kafka.clients.consumer.internals.Fetcher] Unknown error fetching data for topic-partition testtopic-1
[2018-04-26T14:05:53,997][WARN][org.apache.kafka.clients.consumer.internals.Fetcher] Unknown error fetching data for topic-partition testtopic-1
[2018-04-26T14:05:53,998][WARN][org.apache.kafka.clients.consumer.internals.Fetcher] Unknown error fetching data for topic-partition testtopic-1
[2018-04-26T14:05:53,999][WARN][org.apache.kafka.clients.consumer.internals.Fetcher] Unknown error fetching data for topic-partition testtopic-1
[2018-04-26T14:05:54,000][WARN][org.apache.kafka.clients.consumer.internals.Fetcher] Unknown error fetching data for topic-partition testtopic-1
[2018-04-26T14:05:54,001][WARN][org.apache.kafka.clients.consumer.internals.Fetcher] Unknown error fetching data for topic-partition testtopic-1
[2018-04-26T14:05:54,002][WARN][org.apache.kafka.clients.consumer.internals.Fetcher] Unknown error fetching data for topic-partition testtopic-1
[2018-04-26T14:05:54,003][WARN][org.apache.kafka.clients.consumer.internals.Fetcher] Unknown error fetching data for topic-partition testtopic-1
[2018-04-26T14:05:54,004][WARN][org.apache.kafka.clients.consumer.internals.Fetcher] Unknown error fetching data for topic-partition testtopic-1
[2018-04-26T14:05:54,005][WARN][org.apache.kafka.clients.consumer.internals.Fetcher] Unknown error fetching data for topic-partition testtopic-1

```

What might be the reason for this? How can I fix this issue?

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:** [May 24, 2018, 8:27am UTC](https://discuss.elastic.co/t/error-while-consuming-from-topic/129610/2 "2018-05-24T08:27:01Z")

</div>

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