title: Logstash: Kafka Output Plugin - Issues with Bootstrap_Server
body: <p>I am trying to use the logstash-output-kafka in logstash:</p>
  
  <p><strong>Logstash Configuration File</strong></p>
  
  <pre><code>input {
    stdin {}
  }
  
  output {
    kafka {
    topic_id =&gt; "mytopic"
    bootstrap_server =&gt; "[Kafka Hostname]:9092"
    }
  }
  </code></pre>
  
  <p>However, when executing this configuration, I am getting this error:</p>
  
  <pre><code>[ERROR][logstash.agent ] Failed to execute action 
  {:action=&gt;LogStash::PipelineAction::Create/pipeline_id:main, 
  :exception=&gt;"LogStash::ConfigurationError", :message=&gt;"Something is wrong 
  with your configuration."
  </code></pre>
  
  <p>I tried to change "[Kafka Hostname]: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.</p>
  
  <p>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</p>