<?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: Adding New Kafka Brokers: Question in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Adding-New-Kafka-Brokers-Question/m-p/355461#M237099</link>
    <description>&lt;P&gt;AFAIU It should not matter. You can choose the rolling restart option as well. So CM can decide the sequence of the broker restarts.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 19 Oct 2022 17:48:06 GMT</pubDate>
    <dc:creator>Bharati</dc:creator>
    <dc:date>2022-10-19T17:48:06Z</dc:date>
    <item>
      <title>Adding New Kafka Brokers: Question</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Adding-New-Kafka-Brokers-Question/m-p/355453#M237097</link>
      <description>&lt;P&gt;Hi all, this may be an easy question, but just wanted to verify.&amp;nbsp; When adding new brokers to the cluster, after installing the Kafka role/instance on the new hosts, should you start the new broker instances first before you restart the existing brokers?&amp;nbsp; Or does it matter?&amp;nbsp; This is CDP Private Cloud 7.1.7&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 19 Oct 2022 16:54:42 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Adding-New-Kafka-Brokers-Question/m-p/355453#M237097</guid>
      <dc:creator>DataMike</dc:creator>
      <dc:date>2022-10-19T16:54:42Z</dc:date>
    </item>
    <item>
      <title>Re: Adding New Kafka Brokers: Question</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Adding-New-Kafka-Brokers-Question/m-p/355461#M237099</link>
      <description>&lt;P&gt;AFAIU It should not matter. You can choose the rolling restart option as well. So CM can decide the sequence of the broker restarts.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Oct 2022 17:48:06 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Adding-New-Kafka-Brokers-Question/m-p/355461#M237099</guid>
      <dc:creator>Bharati</dc:creator>
      <dc:date>2022-10-19T17:48:06Z</dc:date>
    </item>
    <item>
      <title>Re: Adding New Kafka Brokers: Question</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Adding-New-Kafka-Brokers-Question/m-p/355464#M237100</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/16099"&gt;@DataMike&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The broker restarting order will not cause any issues. But after adding new brokers you should rebalance topics/partitions between all available brokers for better performance.&amp;nbsp; Refer the following article for more details:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&lt;A href="https://docs.cloudera.com/cdp-private-cloud-base/7.1.7/kafka-managing/topics/kafka-manage-cli-reassign-use.html" target="_blank" rel="noopener"&gt;https://docs.cloudera.com/cdp-private-cloud-base/7.1.7/kafka-managing/topics/kafka-manage-cli-reassign-use.html&lt;/A&gt;&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;If you found this response assisted with your query, please take a moment to log in and click on&amp;nbsp; KUDOS &lt;SPAN class="s1"&gt;&lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&amp;nbsp;&amp;amp; ”Accept as Solution" below this post.&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Wed, 19 Oct 2022 17:52:25 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Adding-New-Kafka-Brokers-Question/m-p/355464#M237100</guid>
      <dc:creator>Babasaheb</dc:creator>
      <dc:date>2022-10-19T17:52:25Z</dc:date>
    </item>
    <item>
      <title>Re: Adding New Kafka Brokers: Question</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Adding-New-Kafka-Brokers-Question/m-p/355465#M237101</link>
      <description>&lt;P&gt;Thanks.&amp;nbsp; I think I can use Cruise Control to re-distribute the partitions across the new brokers.&amp;nbsp; Haven't tried yet though.&lt;/P&gt;</description>
      <pubDate>Wed, 19 Oct 2022 18:01:52 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Adding-New-Kafka-Brokers-Question/m-p/355465#M237101</guid>
      <dc:creator>DataMike</dc:creator>
      <dc:date>2022-10-19T18:01:52Z</dc:date>
    </item>
    <item>
      <title>Re: Adding New Kafka Brokers: Question</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Adding-New-Kafka-Brokers-Question/m-p/355469#M237102</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/16099"&gt;@DataMike&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yes, you can use the CC APIs as per your requirements [1] [2]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;[1]&amp;nbsp;&lt;A href="https://docs.cloudera.com/cdp-private-cloud-base/7.1.7/cctrl-managing/topics/cctrl-using-rest-api.html" target="_blank" rel="noopener"&gt;https://docs.cloudera.com/cdp-private-cloud-base/7.1.7/cctrl-managing/topics/cctrl-using-rest-api.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;[2]&amp;nbsp;&lt;A href="https://community.cloudera.com/t5/Customer/Frequently-Used-CRUISE-CONTROL-API-and-important-DOCs/ta-p/324729" target="_blank" rel="noopener"&gt;https://community.cloudera.com/t5/Customer/Frequently-Used-CRUISE-CONTROL-API-and-important-DOCs/ta-p/324729&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;From the above articles you can use the following API to rebalance topics/partitions:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;curl -k --negotiate -u: -X POST "https://&amp;lt;CC FQDN&amp;gt;:8899/kafkacruisecontrol/rebalance?dryrun=false&amp;amp;rebalance_disk=true"&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;To avoid high CPU, memory and disk read write you can initiate rebalance process in batches. It will automatically&lt;/SPAN&gt; &lt;SPAN&gt;create a batch and rebalance topics.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;curl -X POST&amp;nbsp; "http://$HOSTNAME:8899/kafkacruisecontrol/rebalance?dryrun=true&amp;amp;concurrent_partition_movements_per_broker=10&amp;amp;concurrent_leader_movements=500"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If it will help you then please click on&amp;nbsp;”Accept as Solution" below this post.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Wed, 19 Oct 2022 18:22:53 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Adding-New-Kafka-Brokers-Question/m-p/355469#M237102</guid>
      <dc:creator>Babasaheb</dc:creator>
      <dc:date>2022-10-19T18:22:53Z</dc:date>
    </item>
  </channel>
</rss>

