<?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 in Kafka in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Error-when-sending-message-to-topic-in-Kafka/m-p/41440#M46916</link>
    <description>&lt;P&gt;/vol_01/cloudera/parcels/KAFKA-2.0.0-1.kafka2.0.0.p0.12/bin/kafka-console-producer --broker-list localhost:9092 --topic t1&lt;BR /&gt;Hi Hello&lt;BR /&gt;[2016-05-29 01:24:02,381] ERROR Error when sending message to topic t1 with key: null, value: 8 bytes with error: Failed to update metadata after 60000 ms. (org.apache.kafka.clients.producer.internals.ErrorLoggingCallback)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In server.properties file, i have changed the added below lines:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;advertised.host.name=localhost&lt;/P&gt;&lt;P&gt;advertised.port=2181&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In zookeeper.properties file,&amp;nbsp;i have changed the below lines:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;dataDir=/vol_01/lib/zookeeper &amp;nbsp;(as per the settings)&lt;BR /&gt;clientPort=2181&lt;BR /&gt;maxClientCnxns=0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 16 Sep 2022 10:22:12 GMT</pubDate>
    <dc:creator>Cibi</dc:creator>
    <dc:date>2022-09-16T10:22:12Z</dc:date>
  </channel>
</rss>

