<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Error when sending message to topic testTopic with key: null, value: 8 bytes with error: (org.apache.kafka.clients.producer.internals.ErrorLoggingCallback) in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Error-when-sending-message-to-topic-testTopic-with-key-null/m-p/179295#M141541</link>
    <description>&lt;P&gt;Hi Everyone,&lt;/P&gt;&lt;P&gt;I have a issue with Kafka here. On a cluster I have installed Zookeeper-client and Zookeeper server and are up and running. Along the same I have Kafka-server up and running and on Ambari it shows the health as good and fine.&lt;/P&gt;&lt;P&gt;But, while I do execute the producer command for kafka as below, I am getting the below error:&lt;/P&gt;&lt;P&gt;&lt;U&gt;Kafka Producer Command:&lt;/U&gt;&lt;/P&gt;&lt;P&gt;bin/kafka-console-producer.sh --broker-list kafka.broker:6667 --topic &lt;I&gt;testTopic&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&lt;I&gt;&lt;U&gt;Error Message:&lt;/U&gt;&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;[2017-09-05 12:22:02,638] ERROR Error when sending message to topic testTopic with key: null, value: 8 bytes with error: (org.apache.kafka.clients.producer.internals.ErrorLoggingCallback)&lt;BR /&gt;org.apache.kafka.common.errors.TimeoutException: Expiring 2 record(s) for testTopic-0: 1535 ms has passed since batch creation plus linger time&lt;BR /&gt;e&lt;BR /&gt;345[2017-09-05 12:22:05,439] ERROR Error when sending message to topic testTopic with key: null, value: 5 bytes with error: (org.apache.kafka.clients.producer.internals.ErrorLoggingCallback)&lt;BR /&gt;org.apache.kafka.common.errors.TimeoutException: Expiring 1 record(s) for testTopic-0: 1536 ms has passed since batch creation plus linger time&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Not getting the actual issue here. Any help will be appritiated.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sravanthi&lt;/P&gt;</description>
    <pubDate>Wed, 06 Sep 2017 01:37:20 GMT</pubDate>
    <dc:creator>sravanthi_bell1</dc:creator>
    <dc:date>2017-09-06T01:37:20Z</dc:date>
  </channel>
</rss>

