<?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 Re: No brokers found in ZK in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/No-brokers-found-in-ZK/m-p/47804#M28638</link>
    <description>&lt;P&gt;i came across this problem too.&lt;/P&gt;&lt;P&gt;I have zookeeper and kafka in seperate hosts.&lt;/P&gt;&lt;P&gt;i ran these commands:&lt;/P&gt;&lt;P&gt;bin/kafka-server-start.sh config/server.properties&lt;BR /&gt;bin/kafka-topics.sh --create --zookeeper server1:2181 --replication-factor 1 --partitions 1 --topic mobile_events&lt;/P&gt;&lt;P&gt;This has created topics in the kafka dir.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;bin/kafka-console-producer.sh --broker-list server1:9092 --topic mobile_events.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;This opens a terminal to type in the messages, but the messages are not being saved in the topics as i cheked the kafka data dir.&lt;/P&gt;&lt;P&gt;Finally,&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;bin/kafka-console-consumer.sh --zookeeper server1:2181 --topic mobile_events --from-beginning&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Is throwing "&lt;STRONG&gt;No brokers fround in the ZK&lt;/STRONG&gt;" log to the console.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you help me with fixing the issue.&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
    <pubDate>Tue, 22 Nov 2016 10:34:43 GMT</pubDate>
    <dc:creator>jack0188</dc:creator>
    <dc:date>2016-11-22T10:34:43Z</dc:date>
    <item>
      <title>No brokers found in ZK</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/No-brokers-found-in-ZK/m-p/40952#M28632</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm testing Kafka sending messages by running below commands from seperate terminals.&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;bin/kafka-console-producer --broker-list localhost:9092 --topic kafkatest&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;This is a message&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;This is another message&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;On another terminal:&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;bin/kafka-console-consumer --zookeeper localhost:2181 --topic kafkatest --from-beginning&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;No brokers found in ZK.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;Why the above messages don't show up on consumer terminal? This is CDH5.5.2 with Parcel deployment.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;What am I missing on CDH/CM configurations?&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;Thanks very much,&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;Silaphet&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 10:20:17 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/No-brokers-found-in-ZK/m-p/40952#M28632</guid>
      <dc:creator>silaphetmounkhaty-3293181</dc:creator>
      <dc:date>2022-09-16T10:20:17Z</dc:date>
    </item>
    <item>
      <title>Re: No brokers found in ZK</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/No-brokers-found-in-ZK/m-p/41060#M28633</link>
      <description>&lt;P&gt;What is the value of your "ZooKeeper Root" set to in the kafka service configuration?&lt;BR /&gt;If it is set to something like "/kafka", you'll need to specify that in your zk string:&lt;BR /&gt;&lt;BR /&gt;bin/kafka-console-consumer --zookeeper localhost:2181 /kafka --topic kafkatest --from-beginning&lt;BR /&gt;&lt;BR /&gt;What version of kafka parcel are you using?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-pd&lt;/P&gt;</description>
      <pubDate>Thu, 19 May 2016 18:01:19 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/No-brokers-found-in-ZK/m-p/41060#M28633</guid>
      <dc:creator>pdvorak</dc:creator>
      <dc:date>2016-05-19T18:01:19Z</dc:date>
    </item>
    <item>
      <title>Re: No brokers found in ZK</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/No-brokers-found-in-ZK/m-p/41324#M28634</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sorry for the delay. The "Zookeeper Root" is /kafa. I ran below command still no luck.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;bin/kafka-console-consumer --zookeeper localhost:2181 /kafka --topic kafkatest --from-beginning&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I tried FQN instead of localhost still no luck. Tried different Zookeeper node still the same. The Kafka version is&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;KAFKA-2.0.1-1.2.0.1.p0.5&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;Please let me if there is another option to try.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;Thanks,&lt;BR /&gt;Silaphet&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 25 May 2016 17:52:37 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/No-brokers-found-in-ZK/m-p/41324#M28634</guid>
      <dc:creator>silaphetmounkhaty-3293181</dc:creator>
      <dc:date>2016-05-25T17:52:37Z</dc:date>
    </item>
    <item>
      <title>Re: No brokers found in ZK</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/No-brokers-found-in-ZK/m-p/41336#M28635</link>
      <description>Please confirm, there should be no space between localhost:2181 and /kafka. The zk option should be:&lt;BR /&gt;--zookeeper localhost:2181/kafka&lt;BR /&gt;&lt;BR /&gt;My apologies, it appears I had a typo in my original recommendation.&lt;BR /&gt;&lt;BR /&gt;-pd</description>
      <pubDate>Wed, 25 May 2016 20:41:52 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/No-brokers-found-in-ZK/m-p/41336#M28635</guid>
      <dc:creator>pdvorak</dc:creator>
      <dc:date>2016-05-25T20:41:52Z</dc:date>
    </item>
    <item>
      <title>Re: No brokers found in ZK</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/No-brokers-found-in-ZK/m-p/41337#M28636</link>
      <description>&lt;P&gt;Hi Pd,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yes, extra space was the root cause. Thanks very much for great trick.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Silaphet&lt;/P&gt;</description>
      <pubDate>Wed, 25 May 2016 21:06:49 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/No-brokers-found-in-ZK/m-p/41337#M28636</guid>
      <dc:creator>silaphetmounkhaty-3293181</dc:creator>
      <dc:date>2016-05-25T21:06:49Z</dc:date>
    </item>
    <item>
      <title>Re: No brokers found in ZK</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/No-brokers-found-in-ZK/m-p/41341#M28637</link>
      <description>Hi,&lt;BR /&gt;Are you using CM 5.5.2?&lt;BR /&gt;&lt;BR /&gt;To use Cloudera Kafka 2.x , you have to have CM 5.5.3 or above:&lt;BR /&gt;&lt;A href="http://www.cloudera.com/documentation/kafka/latest/topics/kafka_requirements.html" target="_blank"&gt;http://www.cloudera.com/documentation/kafka/latest/topics/kafka_requirements.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;I do see others encountering different kind of issues when their Kafka 2.x&lt;BR /&gt;is deployed/managed by CM version &amp;lt;= 5.5.2 (unsupported).&lt;BR /&gt;</description>
      <pubDate>Thu, 26 May 2016 03:52:19 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/No-brokers-found-in-ZK/m-p/41341#M28637</guid>
      <dc:creator>Yuexin Zhang</dc:creator>
      <dc:date>2016-05-26T03:52:19Z</dc:date>
    </item>
    <item>
      <title>Re: No brokers found in ZK</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/No-brokers-found-in-ZK/m-p/47804#M28638</link>
      <description>&lt;P&gt;i came across this problem too.&lt;/P&gt;&lt;P&gt;I have zookeeper and kafka in seperate hosts.&lt;/P&gt;&lt;P&gt;i ran these commands:&lt;/P&gt;&lt;P&gt;bin/kafka-server-start.sh config/server.properties&lt;BR /&gt;bin/kafka-topics.sh --create --zookeeper server1:2181 --replication-factor 1 --partitions 1 --topic mobile_events&lt;/P&gt;&lt;P&gt;This has created topics in the kafka dir.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;bin/kafka-console-producer.sh --broker-list server1:9092 --topic mobile_events.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;This opens a terminal to type in the messages, but the messages are not being saved in the topics as i cheked the kafka data dir.&lt;/P&gt;&lt;P&gt;Finally,&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;bin/kafka-console-consumer.sh --zookeeper server1:2181 --topic mobile_events --from-beginning&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Is throwing "&lt;STRONG&gt;No brokers fround in the ZK&lt;/STRONG&gt;" log to the console.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you help me with fixing the issue.&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Tue, 22 Nov 2016 10:34:43 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/No-brokers-found-in-ZK/m-p/47804#M28638</guid>
      <dc:creator>jack0188</dc:creator>
      <dc:date>2016-11-22T10:34:43Z</dc:date>
    </item>
    <item>
      <title>Re: No brokers found in ZK</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/No-brokers-found-in-ZK/m-p/47835#M28639</link>
      <description>&lt;P&gt;What does the output of:&lt;/P&gt;&lt;P&gt;kafka-topics --describe --zookeeper server1:2181&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;show?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-pd&lt;/P&gt;</description>
      <pubDate>Tue, 22 Nov 2016 16:26:23 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/No-brokers-found-in-ZK/m-p/47835#M28639</guid>
      <dc:creator>pdvorak</dc:creator>
      <dc:date>2016-11-22T16:26:23Z</dc:date>
    </item>
    <item>
      <title>Re: No brokers found in ZK</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/No-brokers-found-in-ZK/m-p/47892#M28640</link>
      <description>hi,&lt;BR /&gt;I found the mistake . Thanks for being there for a fellow programmer&lt;BR /&gt;</description>
      <pubDate>Wed, 23 Nov 2016 13:25:42 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/No-brokers-found-in-ZK/m-p/47892#M28640</guid>
      <dc:creator>jack0188</dc:creator>
      <dc:date>2016-11-23T13:25:42Z</dc:date>
    </item>
    <item>
      <title>Re: No brokers found in ZK</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/No-brokers-found-in-ZK/m-p/49051#M28641</link>
      <description>&lt;P&gt;i was pointinn to a wrong broker so the zk was unable to find the topics&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jan 2017 07:52:38 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/No-brokers-found-in-ZK/m-p/49051#M28641</guid>
      <dc:creator>jack0188</dc:creator>
      <dc:date>2017-01-04T07:52:38Z</dc:date>
    </item>
  </channel>
</rss>

