# Kafka output plugin not sending messages

**URL:** <https://discuss.elastic.co/t/kafka-output-plugin-not-sending-messages/108768>\
**Category:** Logstash\
**Created:** [November 22, 2017, 5:06pm UTC](https://discuss.elastic.co/t/kafka-output-plugin-not-sending-messages/108768 "2017-11-22T17:06:32Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Senthilr2k](https://avatars.discourse-cdn.com/v4/letter/s/58956e/32.png) [@Senthilr2k](https://discuss.elastic.co/u/Senthilr2k)\
**Post date:** [November 22, 2017, 5:06pm UTC](https://discuss.elastic.co/t/kafka-output-plugin-not-sending-messages/108768/1 "2017-11-22T17:06:33Z")

</div>

Logstash kafka output plugin says the output is flushed. But the message is not available in kafka topic. I am able to submit message to kafka using the same configuration built using java. Can someone help please.

---

<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:** [November 26, 2017, 7:49pm UTC](https://discuss.elastic.co/t/kafka-output-plugin-not-sending-messages/108768/2 "2017-11-26T19:49:58Z")

</div>

What does the input configuration look like? Have you verified that Logstash is actually processing any events?

---

<div class="post-metadata">

**Author:** ![Senthilr2k](https://avatars.discourse-cdn.com/v4/letter/s/58956e/32.png) [@Senthilr2k](https://discuss.elastic.co/u/Senthilr2k)\
**Post date:** [November 27, 2017, 10:48am UTC](https://discuss.elastic.co/t/kafka-output-plugin-not-sending-messages/108768/3 "2017-11-27T10:48:44Z")

</div>

hi , Thanks for responding.

i am connecting to secured kafka through kerbros. i am able to successfully  
run logstash kafka output plugin without any issues.

```
 while enabling debugging option in logstash i am getting log output

```

saying the pipeline has been flushed. But i am not receiving any message in  
my kafka consumer.

```
no error in logstash, when ever i add a line in the log its going

```

through logstash file input and filter and then to logstash kafka output.  
after which it says pipeline flushed.

```
 y am not getting the message in kafka consumer is the mystery

 But i was able to push message into kafka using a java producer

```

successfully using same kerbros.

thanks,  
senthil r

---

<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 25, 2017, 10:48am UTC](https://discuss.elastic.co/t/kafka-output-plugin-not-sending-messages/108768/4 "2017-12-25T10:48:44Z")

</div>

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