<?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: How producer and consumer identify the leader in Kafka in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/How-producer-and-consumer-identify-the-leader-in-Kafka/m-p/212069#M174008</link>
    <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/1496/nileshpatil.html" nodeid="1496"&gt;@Nilesh&lt;/A&gt;  within the zookeeper the leader is given at this path: &lt;/P&gt;&lt;P&gt;/brokers/topics/&amp;lt;&amp;lt;topicname&amp;gt;&amp;gt;&lt;/P&gt;&lt;P&gt;at this path a value named 'partitions' is available, providing key value pairs of&lt;/P&gt;&lt;P&gt;&amp;lt;&amp;lt;partition id&amp;gt;&amp;gt; : &amp;lt;&amp;lt;broker id (of leader)&amp;gt;&amp;gt;&lt;/P&gt;&lt;P&gt;To identify the connection parameter for the broker id, check at the path&lt;/P&gt;&lt;P&gt;/brokers/ids/&amp;lt;&amp;lt;broker id&amp;gt;&lt;/P&gt;&lt;P&gt;the attributes "host", "port" and "endpoints", where endpoints is a multivalue and can contain more than one endpoint.&lt;/P&gt;</description>
    <pubDate>Fri, 19 Jan 2018 15:16:02 GMT</pubDate>
    <dc:creator>arald</dc:creator>
    <dc:date>2018-01-19T15:16:02Z</dc:date>
  </channel>
</rss>

