# Kafka-input plugin issue

**URL:** https://discuss.elastic.co/t/kafka-input-plugin-issue/64086
**Category:** Logstash
**Created:** [October 27, 2016, 3:52am UTC](https://discuss.elastic.co/t/kafka-input-plugin-issue/64086 "2016-10-27T03:52:23Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![rai](https://avatars.discourse-cdn.com/v4/letter/r/67e7ee/32.png) [@rai](https://discuss.elastic.co/u/rai)
#### Post date: [October 27, 2016, 3:52am UTC](https://discuss.elastic.co/t/kafka-input-plugin-issue/64086/1 "2016-10-27T03:52:23Z")

</div>

I am trying to use kafka-input plugin with my elk image. I have created a docker iamge based on sebp/elk and add the following line in docker file to install kafka-input plugin.

RUN gosu logstash bin/logstash-plugin install logstash-input-kafka

My kafka input config file is  
input {  
kafka {  
topic\_id =\> "elk"  
bootstrap\_servers =\> "[xxx.xx.xxx.xxx:9241](http://xxx.xx.xxx.xxx:9241),[xxx.xx.xxx.xxx](http://xxx.xx.xxx.xxx)::9331,[xxx.xx.xxx.xxx:9582](http://xxx.xx.xxx.xxx:9582)"  
type =\> "kafka-input"  
}  
}

After starting the container, I am getting following error:

"Unknown setting 'bootstrap\_servers' for kafka", :level=\>:error

Any suggestion or help ?

---

<div class="post-metadata">

### Author: ![magnusbaeck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/magnusbaeck/32/44943_2.png) [@magnusbaeck](https://discuss.elastic.co/u/magnusbaeck)
#### Post date: [October 27, 2016, 5:40am UTC](https://discuss.elastic.co/t/kafka-input-plugin-issue/64086/2 "2016-10-27T05:40:02Z")

</div>

Have you consulted the documentation for your version of the plugin? You're not saying which version of Logstash so I'm going to assume 2.4, and there's no `bootstrap_servers` option available there.

---

<div class="post-metadata">

### Author: ![rai](https://avatars.discourse-cdn.com/v4/letter/r/67e7ee/32.png) [@rai](https://discuss.elastic.co/u/rai)
#### Post date: [October 27, 2016, 1:55pm UTC](https://discuss.elastic.co/t/kafka-input-plugin-issue/64086/3 "2016-10-27T13:55:29Z")

</div>

I have installed plugin from this link  
[here](https://github.com/logstash-plugins/logstash-input-kafka) and logstash version is 2.4

---

<div class="post-metadata">

### Author: ![rai](https://avatars.discourse-cdn.com/v4/letter/r/67e7ee/32.png) [@rai](https://discuss.elastic.co/u/rai)
#### Post date: [October 27, 2016, 3:00pm UTC](https://discuss.elastic.co/t/kafka-input-plugin-issue/64086/4 "2016-10-27T15:00:18Z")

</div>

It would be great if you guide or suggest me to follow any document for installation of kafka input along with elk image?

---

<div class="post-metadata">

### Author: ![magnusbaeck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/magnusbaeck/32/44943_2.png) [@magnusbaeck](https://discuss.elastic.co/u/magnusbaeck)
#### Post date: [October 28, 2016, 11:12am UTC](https://discuss.elastic.co/t/kafka-input-plugin-issue/64086/5 "2016-10-28T11:12:01Z")

</div>

I'm not very familiar with the kafka plugins. I suggest you start by studying the Logstash 2.4 documentation. Maybe you can just remove the `bootstrap_servers` option? Or maybe it has another name in 2.4? Or perhaps you can upgrade to 5.0?

---

<div class="post-metadata">

### Author: ![rai](https://avatars.discourse-cdn.com/v4/letter/r/67e7ee/32.png) [@rai](https://discuss.elastic.co/u/rai)
#### Post date: [October 28, 2016, 10:43pm UTC](https://discuss.elastic.co/t/kafka-input-plugin-issue/64086/6 "2016-10-28T22:43:39Z")

</div>

Thanks for your reply. I will try to upgrade to 5.0 and will let you know.

---

<div class="post-metadata">

### Author: ![zhaochl](https://avatars.discourse-cdn.com/v4/letter/z/7ba0ec/32.png) [@zhaochl](https://discuss.elastic.co/u/zhaochl)
#### Post date: [June 4, 2017, 8:31am UTC](https://discuss.elastic.co/t/kafka-input-plugin-issue/64086/7 "2017-06-04T08:31:47Z")

</div>

How you config kafka input ,I am faced the same issue  
and my logstash version is 5.3, when I start my logstash and nothing hapend, even if i set stdout to console,it does not show anything from kafka data

---

<div class="post-metadata">

### Author: ![gugansankar](https://avatars.discourse-cdn.com/v4/letter/g/e274bd/32.png) [@gugansankar](https://discuss.elastic.co/u/gugansankar)
#### Post date: [June 27, 2017, 4:26am UTC](https://discuss.elastic.co/t/kafka-input-plugin-issue/64086/8 "2017-06-27T04:26:54Z")

</div>

this may help you.

> [@Logstash Kafka Input plugin : no message read from kafka topic](https://discuss.elastic.co/t/logstash-kafka-input-plugin-no-message-read-from-kafka-topic/83875/7):
>
> The problem is not because of logstash input kafka plugin, It's kafka issue. By default it doesnt allow remote connection. You should enable it in kafka to allow remote connection Thanks, Gugan.K

---

<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: [November 4, 2022, 4:30am UTC](https://discuss.elastic.co/t/kafka-input-plugin-issue/64086/9 "2022-11-04T04:30:54Z")

</div>


