# Kafka Output Plugin -\> Issues with Bootstrap\_Server

**URL:** https://discuss.elastic.co/t/kafka-output-plugin-issues-with-bootstrap-server/149929
**Category:** Logstash
**Created:** [September 26, 2018, 5:48am UTC](https://discuss.elastic.co/t/kafka-output-plugin-issues-with-bootstrap-server/149929 "2018-09-26T05:48:49Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![dyongbcst](https://avatars.discourse-cdn.com/v4/letter/d/b9bd4f/32.png) [@dyongbcst](https://discuss.elastic.co/u/dyongbcst)
#### Post date: [September 26, 2018, 5:48am UTC](https://discuss.elastic.co/t/kafka-output-plugin-issues-with-bootstrap-server/149929/1 "2018-09-26T05:48:49Z")

</div>

Hi, I am trying to use the logstash-output-kafka

**////My codes  
input {  
stdin {}  
}**

**output {  
kafka {  
topic\_id =\> "mytopic"  
bootstrap\_server =\> ":9092"  
}  
}**

However, when executing this configuration, I am getting this error:

**//////Output  
[ERROR][logstash.agent] Failed to execute action {:action=\>LogStash::PipelineAction::Create/pipeline\_id:main, :exception=\>"LogStash::ConfigurationError", :message=\>"Something is wrong with your configuration."**

I tried to change ":9092" to "localhost:9092", but that also fails to connect to kafka. Only when I remove the bootstrap\_server configuration (which then defaults to localhost:9092) then the kafka connection seems to be established.

Is there something wrong with the bootstrap\_server configuration of the kafka output plugin? i am using logstash v6.4.1, logstash-output-kafka v7.1.3

---

<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: [September 28, 2018, 6:01am UTC](https://discuss.elastic.co/t/kafka-output-plugin-issues-with-bootstrap-server/149929/2 "2018-09-28T06:01:20Z")

</div>

It's bootstrap\_server **s** , not bootstrap\_server.

---

<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: [October 26, 2018, 6:01am UTC](https://discuss.elastic.co/t/kafka-output-plugin-issues-with-bootstrap-server/149929/3 "2018-10-26T06:01:22Z")

</div>

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