<?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: Error Kafka in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Error-Kafka/m-p/278345#M207981</link>
    <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/68603"&gt;@Peruvian81&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can try below command for the consumer:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;./kafka-console-consumer.sh --bootstrap-server w01.s03.hortonweb.com:6667 --topic PruebaNYC --consumer-property security.protocol=SASL_PLAINTEXT --from-beginning&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If that solves your issue, kindly put this thread as solved.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 26 Sep 2019 14:44:07 GMT</pubDate>
    <dc:creator>ManuelCalvo</dc:creator>
    <dc:date>2019-09-26T14:44:07Z</dc:date>
    <item>
      <title>Error Kafka</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Error-Kafka/m-p/278240#M207917</link>
      <description>&lt;P&gt;Hey, folks,&lt;/P&gt;
&lt;P&gt;I have an error when executing kafka when executing a message for the topic.&lt;/P&gt;
&lt;P&gt;kafka-console-producer.sh --broker-list w01.s03.hortonweb.com:6667 -topic TestNYC&lt;/P&gt;
&lt;P&gt;error.&lt;/P&gt;
&lt;P&gt;WARN [Producer clientId=console-producer] Bootstrap broker w01.s03.hortonweb.com:6667 (id: -1 rack: null) disconnected (org.apache.kafka.clients.NetworkClient)&lt;/P&gt;
&lt;P&gt;I have 3 Brokers, which are working and is configured according to the parameters. just a topic that I just realized.&lt;/P&gt;
&lt;P&gt;I have 2 network cards one internal and external to netstat I see that port 6667 is listening to the internal. but still executing the command with the internal IP&lt;/P&gt;
&lt;P&gt;kafka-console-producer.sh --broker-list 192.168.0.9:6667 -topic TestNYC&lt;/P&gt;
&lt;P&gt;I still get the same mistake.&lt;/P&gt;
&lt;P&gt;Someone could help me.&lt;/P&gt;
&lt;P&gt;Greetings&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Sep 2019 14:33:04 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Error-Kafka/m-p/278240#M207917</guid>
      <dc:creator>Peruvian81</dc:creator>
      <dc:date>2019-09-25T14:33:04Z</dc:date>
    </item>
    <item>
      <title>Re: Error Kafka</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Error-Kafka/m-p/278241#M207918</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/68603"&gt;@Peruvian81&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you connect to the zookeeper cli using:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;SPAN&gt;ZK_HOME/zookeeper-client/bin/zkCli.sh -server &amp;lt;zkHost&amp;gt;:&amp;lt;zkPort&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&lt;SPAN&gt;Then you can run:&amp;nbsp; get /brokers/ids/&amp;lt;brokerID&amp;gt; and check in the&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;"endpoints" where the kafka brokers are listening.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Then try using that security-protocol ip:port to connect to the brokers.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Also, make sure that the topic has all their replicas in sync by running "describe" command line.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Let us know how it goes.&lt;/SPAN&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 25 Sep 2019 13:59:46 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Error-Kafka/m-p/278241#M207918</guid>
      <dc:creator>ManuelCalvo</dc:creator>
      <dc:date>2019-09-25T13:59:46Z</dc:date>
    </item>
    <item>
      <title>Re: Error Kafka</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Error-Kafka/m-p/278242#M207919</link>
      <description>&lt;P&gt;Hello &lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/34938"&gt;@ManuelCalvo&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class="dcxa-lithium-author-avatar"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="dcxa-lithium-author-avatar"&gt;When you execute the command&lt;/DIV&gt;&lt;DIV class="dcxa-lithium-author-avatar"&gt;&lt;P&gt;[zookeeper@m01 bin]$ ./zkCli.sh -server m01.s02.hortonweb.com:2181 get /brokers/ids&lt;BR /&gt;Connecting to m01.s02.hortonweb.com:2181&lt;BR /&gt;2019-09-25 16:22:54,331 - INFO [main:Environment@100] - Client environment:zookeeper.version=3.4.6-78--1, built on 12/06/2018 12:30 GMT&lt;BR /&gt;2019-09-25 16:22:54,333 - INFO [main:Environment@100] - Client environment:host.name=m01.s02.hortonweb.com&lt;BR /&gt;2019-09-25 16:22:54,333 - INFO [main:Environment@100] - Client environment:java.version=1.8.0_112&lt;BR /&gt;2019-09-25 16:22:54,335 - INFO [main:Environment@100] - Client environment:java.vendor=Oracle Corporation&lt;BR /&gt;2019-09-25 16:22:54,335 - INFO [main:Environment@100] - Client environment:java.home=/usr/jdk64/jdk1.8.0_112/jre&lt;BR /&gt;2019-09-25 16:22:54,335 - INFO [main:Environment@100] - Client environment:java.class.path=/usr/hdp/current/zookeeper-client/bin/../build/classes:/usr/hdp/current/zookeeper-client/bin/../build/lib/*.jar:/usr/hdp/current/zookeeper-client/bin/../lib/slf4j-log4j12-1.6.1.jar:/usr/hdp/&lt;BR /&gt;current/zookeeper-client/bin/../lib/slf4j-api-1.6.1.jar:/usr/hdp/current/zookeeper-client/bin/../lib/netty-3.10.5.Final.jar:/usr/hdp/current/zookeeper-client/bin/../lib/log4j-1.2.16.jar:/usr/hdp/current/zookeeper-client/bin/../lib/jline-0.9.94.jar:/usr/hdp/current/zookeeper-client/&lt;BR /&gt;bin/../zookeeper-3.4.6.3.1.0.0-78.jar:/usr/hdp/current/zookeeper-client/bin/../src/java/lib/*.jar:/usr/hdp/current/zookeeper-client/bin/../conf::/usr/share/zookeeper/*&lt;BR /&gt;2019-09-25 16:22:54,335 - INFO [main:Environment@100] - Client environment:java.library.path=/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib&lt;BR /&gt;2019-09-25 16:22:54,336 - INFO [main:Environment@100] - Client environment:java.io.tmpdir=/tmp&lt;BR /&gt;2019-09-25 16:22:54,336 - INFO [main:Environment@100] - Client environment:java.compiler=&amp;lt;NA&amp;gt;&lt;BR /&gt;2019-09-25 16:22:54,336 - INFO [main:Environment@100] - Client environment:os.name=Linux&lt;BR /&gt;2019-09-25 16:22:54,336 - INFO [main:Environment@100] - Client environment:os.arch=amd64&lt;BR /&gt;2019-09-25 16:22:54,336 - INFO [main:Environment@100] - Client environment:os.version=3.10.0-957.12.1.el7.x86_64&lt;BR /&gt;2019-09-25 16:22:54,336 - INFO [main:Environment@100] - Client environment:user.name=zookeeper&lt;BR /&gt;2019-09-25 16:22:54,336 - INFO [main:Environment@100] - Client environment:user.home=/home/zookeeper&lt;BR /&gt;2019-09-25 16:22:54,336 - INFO [main:Environment@100] - Client environment:user.dir=/usr/hdp/3.1.0.0-78/zookeeper/bin&lt;BR /&gt;2019-09-25 16:22:54,337 - INFO [main:ZooKeeper@438] - Initiating client connection, connectString=m01.s02.hortonweb.com:2181 sessionTimeout=30000 watcher=org.apache.zookeeper.ZooKeeperMain$MyWatcher@67424e82&lt;BR /&gt;2019-09-25 16:22:54,367 - WARN [main-SendThread(m01.s02.hortonweb.com:2181):ZooKeeperSaslClient$ClientCallbackHandler@496] - Could not login: the client is being asked for a password, but the Zookeeper client code does not currently support obtaining a password from the user. Make&lt;BR /&gt;sure that the client is configured to use a ticket cache (using the JAAS configuration setting 'useTicketCache=true)' and restart the client. If you still get this message after that, the TGT in the ticket cache has expired and must be manually refreshed. To do so, first determine&lt;BR /&gt;if you are using a password or a keytab. If the former, run kinit in a Unix shell in the environment of the user who is running this Zookeeper client using the command 'kinit &amp;lt;princ&amp;gt;' (where &amp;lt;princ&amp;gt; is the name of the client's Kerberos principal). If the latter, do 'kinit -k -t &amp;lt;ke&lt;BR /&gt;ytab&amp;gt; &amp;lt;princ&amp;gt;' (where &amp;lt;princ&amp;gt; is the name of the Kerberos principal, and &amp;lt;keytab&amp;gt; is the location of the keytab file). After manually refreshing your cache, restart this client. If you continue to see this message after manually refreshing your cache, ensure that your KDC host's cl&lt;BR /&gt;ock is in sync with this host's clock.&lt;BR /&gt;2019-09-25 16:22:54,369 - WARN [main-SendThread(m01.s02.hortonweb.com:2181):ClientCnxn$SendThread@1001] - SASL configuration failed: javax.security.auth.login.LoginException: No password provided Will continue connection to Zookeeper server without SASL authentication, if Zookeeper&lt;BR /&gt;server allows it.&lt;BR /&gt;2019-09-25 16:22:54,371 - INFO [main-SendThread(m01.s02.hortonweb.com:2181):ClientCnxn$SendThread@1019] - Opening socket connection to server m01.s02.hortonweb.com/192.168.0.2:2181&lt;/P&gt;&lt;P&gt;WATCHER::&lt;/P&gt;&lt;P&gt;WatchedEvent state:AuthFailed type:None path:null&lt;BR /&gt;2019-09-25 16:22:54,443 - INFO [main-SendThread(m01.s02.hortonweb.com:2181):ClientCnxn$SendThread@864] - Socket connection established, initiating session, client: /192.168.0.2:57438, server: m01.s02.hortonweb.com/192.168.0.2:2181&lt;BR /&gt;2019-09-25 16:22:54,571 - INFO [main-SendThread(m01.s02.hortonweb.com:2181):ClientCnxn$SendThread@1279] - Session establishment complete on server m01.s02.hortonweb.com/192.168.0.2:2181, sessionid = 0x16ccd8510b02378, negotiated timeout = 30000&lt;/P&gt;&lt;P&gt;WATCHER::&lt;/P&gt;&lt;P&gt;WatchedEvent state:SyncConnected type:None path:null&lt;BR /&gt;null&lt;BR /&gt;cZxid = 0x239&lt;BR /&gt;ctime = Tue May 07 10:07:46 CEST 2019&lt;BR /&gt;mZxid = 0x239&lt;BR /&gt;mtime = Tue May 07 10:07:46 CEST 2019&lt;BR /&gt;pZxid = 0x6b559&lt;BR /&gt;cversion = 103&lt;BR /&gt;dataVersion = 0&lt;BR /&gt;aclVersion = 0&lt;BR /&gt;ephemeralOwner = 0x0&lt;BR /&gt;dataLength = 0&lt;BR /&gt;numChildren = 3&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm a little new to this subject. But I am impressed that by having 2 network cards my requests are going off without a specific direction. I have one for my LAN and one for WAN. both in Broker and Zookeeper.&lt;/P&gt;&lt;P&gt;Greetings&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 25 Sep 2019 14:31:00 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Error-Kafka/m-p/278242#M207919</guid>
      <dc:creator>Peruvian81</dc:creator>
      <dc:date>2019-09-25T14:31:00Z</dc:date>
    </item>
    <item>
      <title>Re: Error Kafka</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Error-Kafka/m-p/278263#M207933</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/68603"&gt;@Peruvian81&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Are you using kerberos? If yes, make sure you have a valid ticket in order to avoid below exception:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;2019-09-25 16:22:54,367 - WARN [main-SendThread(m01.s02.hortonweb.com:2181):ZooKeeperSaslClient$ClientCallbackHandler@496] - Could not login: the client is being asked for a password, but the Zookeeper client code does not currently support obtaining a password from the user. Make
sure that the client is configured to use a ticket cache (using the JAAS configuration setting 'useTicketCache=true)' and restart the client. If you still get this message after that, the TGT in the ticket cache has expired and must be manually refreshed. To do so, first determine
if you are using a password or a keytab. If the former, run kinit in a Unix shell in the environment of the user who is running this Zookeeper client using the command 'kinit &amp;lt;princ&amp;gt;' (where &amp;lt;princ&amp;gt; is the name of the client's Kerberos principal). If the latter, do 'kinit -k -t &amp;lt;ke
ytab&amp;gt; &amp;lt;princ&amp;gt;' (where &amp;lt;princ&amp;gt; is the name of the Kerberos principal, and &amp;lt;keytab&amp;gt; is the location of the keytab file). After manually refreshing your cache, restart this client. If you continue to see this message after manually refreshing your cache, ensure that your KDC host's cl
ock is in sync with this host's clock.&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;From the command line, please add the broker id:&amp;nbsp;&lt;SPAN&gt;get /brokers/ids/&amp;lt;brokerID&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Example:&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;ZK_HOME/zookeeper-client/bin/zkCli.sh -server host:2181 get /brokers/ids/1001&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;If you don't know your current ids, you can get them by using:&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;ZK_HOME/zookeeper-client/bin/zkCli.sh -server host:2181 ls /brokers/ids&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Sep 2019 18:04:38 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Error-Kafka/m-p/278263#M207933</guid>
      <dc:creator>ManuelCalvo</dc:creator>
      <dc:date>2019-09-25T18:04:38Z</dc:date>
    </item>
    <item>
      <title>Re: Error Kafka</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Error-Kafka/m-p/278333#M207970</link>
      <description>&lt;P&gt;Hello &lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/34938"&gt;@ManuelCalvo&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class="dcxa-lithium-info-author"&gt;&lt;DIV class="dcxa-lithium-author-name-rank"&gt;&lt;DIV class="dcxa-lithium-author-name"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;Generate a ticket with the kerberos admin and execute the command. But I don't see any error... excuse me I'm a little new to this topic. I attach the result of the command.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;[root@m01 bin]# ./zkCli.sh -server m01.s02.hortonweb.com:2181 get /brokers/ids/1001&lt;BR /&gt;Connecting to m01.s02.hortonweb.com:2181&lt;BR /&gt;2019-09-26 12:09:27,940 - INFO [main:Environment@100] - Client environment:zookeeper.version=3.4.6-78--1, built on 12/06/2018 12:30 GMT&lt;BR /&gt;2019-09-26 12:09:27,942 - INFO [main:Environment@100] - Client environment:host.name=m01.s02.hortonweb.com&lt;BR /&gt;2019-09-26 12:09:27,942 - INFO [main:Environment@100] - Client environment:java.version=1.8.0_112&lt;BR /&gt;2019-09-26 12:09:27,944 - INFO [main:Environment@100] - Client environment:java.vendor=Oracle Corporation&lt;BR /&gt;2019-09-26 12:09:27,944 - INFO [main:Environment@100] - Client environment:java.home=/usr/jdk64/jdk1.8.0_112/jre&lt;BR /&gt;2019-09-26 12:09:27,944 - INFO [main:Environment@100] - Client environment:java.class.path=/usr/hdp/current/zookeeper-client/bin/../build/classes:/usr/hdp/current/zookeeper-client/bin/../build/lib/*.jar:/usr/hdp/current/zookeeper-client/bin/../lib/slf4j-log4j12-1.6.1.jar:/u&lt;BR /&gt;sr/hdp/current/zookeeper-client/bin/../lib/slf4j-api-1.6.1.jar:/usr/hdp/current/zookeeper-client/bin/../lib/netty-3.10.5.Final.jar:/usr/hdp/current/zookeeper-client/bin/../lib/log4j-1.2.16.jar:/usr/hdp/current/zookeeper-client/bin/../lib/jline-0.9.94.jar:/usr/hdp/current/zoo&lt;BR /&gt;keeper-client/bin/../zookeeper-3.4.6.3.1.0.0-78.jar:/usr/hdp/current/zookeeper-client/bin/../src/java/lib/*.jar:/usr/hdp/current/zookeeper-client/bin/../conf::/usr/share/zookeeper/*&lt;BR /&gt;2019-09-26 12:09:27,944 - INFO [main:Environment@100] - Client environment:java.library.path=/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib&lt;BR /&gt;2019-09-26 12:09:27,944 - INFO [main:Environment@100] - Client environment:java.io.tmpdir=/tmp&lt;BR /&gt;2019-09-26 12:09:27,945 - INFO [main:Environment@100] - Client environment:java.compiler=&amp;lt;NA&amp;gt;&lt;BR /&gt;2019-09-26 12:09:27,945 - INFO [main:Environment@100] - Client environment:os.name=Linux&lt;BR /&gt;2019-09-26 12:09:27,945 - INFO [main:Environment@100] - Client environment:os.arch=amd64&lt;BR /&gt;2019-09-26 12:09:27,945 - INFO [main:Environment@100] - Client environment:os.version=3.10.0-957.12.1.el7.x86_64&lt;BR /&gt;2019-09-26 12:09:27,945 - INFO [main:Environment@100] - Client environment:user.name=root&lt;BR /&gt;2019-09-26 12:09:27,945 - INFO [main:Environment@100] - Client environment:user.home=/root&lt;BR /&gt;2019-09-26 12:09:27,945 - INFO [main:Environment@100] - Client environment:user.dir=/usr/hdp/3.1.0.0-78/zookeeper/bin&lt;BR /&gt;2019-09-26 12:09:27,947 - INFO [main:ZooKeeper@438] - Initiating client connection, connectString=m01.s02.hortonweb.com:2181 sessionTimeout=30000 watcher=org.apache.zookeeper.ZooKeeperMain$MyWatcher@67424e82&lt;BR /&gt;2019-09-26 12:09:28,051 - INFO [main-SendThread(m01.s02.hortonweb.com:2181):Login@294] - successfully logged in.&lt;BR /&gt;2019-09-26 12:09:28,052 - INFO [Thread-0:Login$1@127] - TGT refresh thread started.&lt;BR /&gt;2019-09-26 12:09:28,056 - INFO [main-SendThread(m01.s02.hortonweb.com:2181):ZooKeeperSaslClient$1@289] - Client will use GSSAPI as SASL mechanism.&lt;BR /&gt;2019-09-26 12:09:28,067 - INFO [Thread-0:Login@302] - TGT valid starting at: Thu Sep 26 09:16:58 CEST 2019&lt;BR /&gt;2019-09-26 12:09:28,067 - INFO [Thread-0:Login@303] - TGT expires: Thu Sep 26 19:16:58 CEST 2019&lt;BR /&gt;2019-09-26 12:09:28,067 - INFO [Thread-0:Login$1@181] - TGT refresh sleeping until: Thu Sep 26 17:26:26 CEST 2019&lt;BR /&gt;2019-09-26 12:09:28,104 - INFO [main-SendThread(m01.s02.hortonweb.com:2181):ClientCnxn$SendThread@1019] - Opening socket connection to server m01.s02.hortonweb.com/192.168.0.2:2181. Will attempt to SASL-authenticate using Login Context section 'Client'&lt;BR /&gt;2019-09-26 12:09:28,160 - INFO [main-SendThread(m01.s02.hortonweb.com:2181):ClientCnxn$SendThread@864] - Socket connection established, initiating session, client: /192.168.0.2:59854, server: m01.s02.hortonweb.com/192.168.0.2:2181&lt;BR /&gt;2019-09-26 12:09:28,317 - INFO [main-SendThread(m01.s02.hortonweb.com:2181):ClientCnxn$SendThread@1279] - Session establishment complete on server m01.s02.hortonweb.com/192.168.0.2:2181, sessionid = 0x16ccd8510b02493, negotiated timeout = 30000&lt;/P&gt;&lt;P&gt;WATCHER::&lt;/P&gt;&lt;P&gt;WatchedEvent state:SyncConnected type:None path:null&lt;/P&gt;&lt;P&gt;WATCHER::&lt;/P&gt;&lt;P&gt;WatchedEvent state:SaslAuthenticated type:None path:null&lt;BR /&gt;{"listener_security_protocol_map":{"SASL_PLAINTEXT":"SASL_PLAINTEXT"},"endpoints":["SASL_PLAINTEXT://w01.s03.hortonweb.com:6667"],"jmx_port":-1,"host":null,"timestamp":"1569423123514","port":-1,"version":4}&lt;BR /&gt;cZxid = 0x6c420&lt;BR /&gt;ctime = Wed Sep 25 16:52:03 CEST 2019&lt;BR /&gt;mZxid = 0x6c420&lt;BR /&gt;mtime = Wed Sep 25 16:52:03 CEST 2019&lt;BR /&gt;pZxid = 0x6c420&lt;BR /&gt;cversion = 0&lt;BR /&gt;dataVersion = 0&lt;BR /&gt;aclVersion = 0&lt;BR /&gt;ephemeralOwner = 0x16ccd8510b0238e&lt;BR /&gt;dataLength = 205&lt;BR /&gt;numChildren = 0&lt;BR /&gt;[root@m01 bin]#&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I execute these commands&lt;/P&gt;&lt;P&gt;./kafka-topics.sh --create --zookeeper m01.s02.hortonweb.com:2181 --replication-factor 3 (i have 3 Brokers)--partitions 1 --topic PruebaKafka&lt;BR /&gt;Created topic "PruebaKafka".&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;./kafka-console-producer.sh --broker-list w01.s03.hortonweb.com:6667 --topic PruebaKafka&lt;/P&gt;&lt;P&gt;&amp;gt;Helpme&lt;/P&gt;&lt;P&gt;[2019-09-26 12:22:22,059] WARN [Producer clientId=console-producer] Bootstrap broker w01.s03.hortonweb.com.com:6667 (id: -1 rack: null) disconnected (org.apache.kafka.clients.NetworkClient)&lt;BR /&gt;[2019-09-26 12:22:22,165] WARN [Producer clientId=console-producer] Bootstrap broker w01.s03.hortonweb.com.com:6667 (id: -1 rack: null) disconnected (org.apache.kafka.clients.NetworkClient)&lt;BR /&gt;[2019-09-26 12:22:22,270] WARN [Producer clientId=console-producer] Bootstrap broker w01.s03.hortonweb.com.com:6667 (id: -1 rack: null) disconnected (org.apache.kafka.clients.NetworkClient)&lt;/P&gt;&lt;P&gt;Greetings&lt;/P&gt;</description>
      <pubDate>Thu, 26 Sep 2019 10:26:11 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Error-Kafka/m-p/278333#M207970</guid>
      <dc:creator>Peruvian81</dc:creator>
      <dc:date>2019-09-26T10:26:11Z</dc:date>
    </item>
    <item>
      <title>Re: Error Kafka</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Error-Kafka/m-p/278334#M207971</link>
      <description>&lt;P&gt;Hello &lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/34938"&gt;@ManuelCalvo&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;That's right. We're using Kerberos. Generate a ticket as admin and execute the command indicated and consulted a Broker.&lt;/P&gt;&lt;P&gt;I attach a URL with the report that comes out.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://ibb.co/Bg1jfQx" target="_blank"&gt;https://ibb.co/Bg1jfQx&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I also indicate the commands that we executed when we created the topic and the producer.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;./kafka-topics.sh --create --zookeeper m01.s02.hortonweb.com:2181 --replication-factor 3 --partitions 1 --topic PruebaKafka (I Have 3 Brokers)&lt;BR /&gt;Created topic "PruebaKafka".&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;./kafka-console-producer.sh --broker-list m01.s02.hortonweb.com:6667 --topic PruebaKafka&lt;BR /&gt;&amp;gt;Prueba mensaje&lt;/P&gt;&lt;P&gt;[2019-09-26 12:22:22,059] WARN [Producer clientId=console-producer] Bootstrap broker w01.s03.hortonweb.com.com:6667 (id: -1 rack: null) disconnected (org.apache.kafka.clients.NetworkClient)&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Thu, 26 Sep 2019 10:42:10 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Error-Kafka/m-p/278334#M207971</guid>
      <dc:creator>Peruvian81</dc:creator>
      <dc:date>2019-09-26T10:42:10Z</dc:date>
    </item>
    <item>
      <title>Re: Error Kafka</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Error-Kafka/m-p/278339#M207975</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/68603"&gt;@Peruvian81&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;According to the output, the broker is listening on SASL_PLAINTEXT (kerberos) and host w01.s03.hortonweb.com. We have to specify the connection type we are doing from our clients to Kafka, by default the connection is PLAINTEXT, depending on the Kafka version in use, you should try the following:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. Get a valid Kerberos token "kinit -kt &amp;lt;keytab&amp;gt; &amp;lt;principal&amp;gt;"&lt;/P&gt;&lt;P&gt;2. Execute the command below for Kafka version until 1.0.0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;./kafka-console-producer.sh --broker-list w01.s03.hortonweb.com:6667 --topic PruebaKafka --security-protocol SASL_PLAINTEXT&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;Kafka 2.0 onwards:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;./kafka-console-producer.sh --broker-list w01.s03.hortonweb.com:6667 --topic PruebaKafka --producer-property security.protocol=SASL_PLAINTEXT&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;Test and let us know.&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Sep 2019 13:19:16 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Error-Kafka/m-p/278339#M207975</guid>
      <dc:creator>ManuelCalvo</dc:creator>
      <dc:date>2019-09-26T13:19:16Z</dc:date>
    </item>
    <item>
      <title>Re: Error Kafka</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Error-Kafka/m-p/278342#M207978</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/34938"&gt;@ManuelCalvo&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;[root@w01 bin]# ./kafka-console-producer.sh --broker-list w01.s03.hortonweb.com:6667 --topic PruebaNYC --producer-property security.protocol=SASL_PLAINTEXT&lt;BR /&gt;&amp;gt;Hello&lt;BR /&gt;&amp;gt;Helo&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you very much it worked for me, I don't know if it is to ask a lot and what would be the command for the consumer.&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Thu, 26 Sep 2019 13:55:41 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Error-Kafka/m-p/278342#M207978</guid>
      <dc:creator>Peruvian81</dc:creator>
      <dc:date>2019-09-26T13:55:41Z</dc:date>
    </item>
    <item>
      <title>Re: Error Kafka</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Error-Kafka/m-p/278345#M207981</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/68603"&gt;@Peruvian81&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can try below command for the consumer:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;./kafka-console-consumer.sh --bootstrap-server w01.s03.hortonweb.com:6667 --topic PruebaNYC --consumer-property security.protocol=SASL_PLAINTEXT --from-beginning&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If that solves your issue, kindly put this thread as solved.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Sep 2019 14:44:07 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Error-Kafka/m-p/278345#M207981</guid>
      <dc:creator>ManuelCalvo</dc:creator>
      <dc:date>2019-09-26T14:44:07Z</dc:date>
    </item>
  </channel>
</rss>

