forked from docs/doc-exports
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com> Co-authored-by: Yang, Tong <yangtong2@huawei.com> Co-committed-by: Yang, Tong <yangtong2@huawei.com>
35 lines
10 KiB
HTML
35 lines
10 KiB
HTML
<a name="mrs_01_0439"></a><a name="mrs_01_0439"></a>
|
|
|
|
<h1 class="topictitle1">Kafka Cluster Monitoring Management</h1>
|
|
<div id="body1589421635911"><p id="mrs_01_0439__p535918330573">This section applies to MRS 1.9.2 clusters.</p>
|
|
<p id="mrs_01_0439__p1110342519435">The Kafka cluster monitoring management includes the following operations:</p>
|
|
<ul id="mrs_01_0439__ul15880123524719"><li id="mrs_01_0439__li128801235174714"><a href="#mrs_01_0439__section1254019150558">Viewing Broker Information</a></li><li id="mrs_01_0439__li2048717184718"><a href="#mrs_01_0439__section2384151125912">Viewing Topic Information</a></li><li id="mrs_01_0439__li981732117718"><a href="#mrs_01_0439__section517576022">Viewing Consumers Information</a></li><li id="mrs_01_0439__li27461024278"><a href="#mrs_01_0439__section195268241735">Modifying the Partition of a Topic Through KafkaManager</a></li></ul>
|
|
<div class="section" id="mrs_01_0439__section1254019150558"><a name="mrs_01_0439__section1254019150558"></a><a name="section1254019150558"></a><h4 class="sectiontitle">Viewing Broker Information</h4><ol id="mrs_01_0439__ol7926510195818"><li id="mrs_01_0439__li495091291614"><span>Log in to the KafkaManager web UI.</span></li><li id="mrs_01_0439__li19223528161"><span>On the cluster list page, click a cluster name to access the Summary page of the cluster.</span><p><div class="fignone" id="mrs_01_0439__fig51082016253"><span class="figcap"><b>Figure 1 </b>Summary page of a cluster</span><br><span><img id="mrs_01_0439__image6901653112418" src="en-us_image_0000001349090245.png"></span></div>
|
|
</p></li><li id="mrs_01_0439__li2592154612586"><span>Click <strong id="mrs_01_0439__b96522203455">Brokers</strong> to access the Broker monitoring page. The page displays the Broker list and I/O statistics of the Broker nodes.</span><p><div class="fignone" id="mrs_01_0439__fig4283026133010"><span class="figcap"><b>Figure 2 </b>Broker monitoring page</span><br><span><img id="mrs_01_0439__image14671172010303" src="en-us_image_0000001295770612.png"></span></div>
|
|
</p></li></ol>
|
|
<p id="mrs_01_0439__p16809105513577"></p>
|
|
</div>
|
|
<div class="section" id="mrs_01_0439__section2384151125912"><a name="mrs_01_0439__section2384151125912"></a><a name="section2384151125912"></a><h4 class="sectiontitle">Viewing Topic Information</h4><ol id="mrs_01_0439__ol15763152145913"><li id="mrs_01_0439__li179318714337"><span>Log in to the KafkaManager web UI.</span></li><li id="mrs_01_0439__li1979419793310"><span>On the cluster list page, click a cluster name to access the <strong id="mrs_01_0439__b23871303511">Summary</strong> page of the cluster.</span></li><li id="mrs_01_0439__li14661195695910"><span>Choose <strong id="mrs_01_0439__b15202165915466">Topic</strong> > <strong id="mrs_01_0439__b1195272104718">List</strong> to view the topic list of the current cluster and information about each topic.</span><p><div class="fignone" id="mrs_01_0439__fig820314249365"><span class="figcap"><b>Figure 3 </b>Topic list</span><br><span><img id="mrs_01_0439__image124894375920" src="en-us_image_0000001296250052.png"></span></div>
|
|
</p></li><li id="mrs_01_0439__li10278142716590"><span>Click a topic name to view details about the topic.</span><p><div class="fignone" id="mrs_01_0439__fig597644733810"><span class="figcap"><b>Figure 4 </b>Topic details</span><br><span><img id="mrs_01_0439__image1710195615312" src="en-us_image_0000001296090400.png"></span></div>
|
|
</p></li></ol>
|
|
</div>
|
|
<div class="section" id="mrs_01_0439__section517576022"><a name="mrs_01_0439__section517576022"></a><a name="section517576022"></a><h4 class="sectiontitle">Viewing Consumers Information</h4><ol id="mrs_01_0439__ol36014301825"><li id="mrs_01_0439__li9871202918392"><span>Log in to the KafkaManager web UI.</span></li><li id="mrs_01_0439__li138711329143917"><span>On the cluster list page, click a cluster name to access the <strong id="mrs_01_0439__b683110573517">Summary</strong> page of the cluster.</span></li><li id="mrs_01_0439__li3366125994014"><span>Click <strong id="mrs_01_0439__b1051155919515">Consumers</strong> to view the consumers of the current cluster and each consumer's consumption information.</span><p><div class="fignone" id="mrs_01_0439__fig1875394394113"><span class="figcap"><b>Figure 5 </b>Consumers</span><br><span><img id="mrs_01_0439__image664724119219" src="en-us_image_0000001295930576.png"></span></div>
|
|
</p></li><li id="mrs_01_0439__li178724410218"><span>Click a consumer name to view the list of the consumed topics.</span><p><div class="fignone" id="mrs_01_0439__fig197791150114411"><span class="figcap"><b>Figure 6 </b>List of topics consumed by the consumer</span><br><span><img id="mrs_01_0439__image128024465446" src="en-us_image_0000001348770433.png"></span></div>
|
|
</p></li><li id="mrs_01_0439__li13645581223"><span>Click a topic name in the topic list of the consumer to view consumption information about the topic.</span><p><div class="fignone" id="mrs_01_0439__fig10399118144810"><span class="figcap"><b>Figure 7 </b>Topic consumption details</span><br><span><img id="mrs_01_0439__image5939356184715" src="en-us_image_0000001296090404.png"></span></div>
|
|
</p></li></ol>
|
|
</div>
|
|
<div class="section" id="mrs_01_0439__section195268241735"><a name="mrs_01_0439__section195268241735"></a><a name="section195268241735"></a><h4 class="sectiontitle">Modifying the Partition of a Topic Through KafkaManager</h4><ol id="mrs_01_0439__ol1374724115313"><li id="mrs_01_0439__li86041137144811"><span>Log in to the KafkaManager web UI.</span></li><li id="mrs_01_0439__li660553744817"><span>On the cluster list page, click a cluster name to access the <strong id="mrs_01_0439__b3856165113619">Summary</strong> page of the cluster.</span></li><li id="mrs_01_0439__li1456981211500"><span>Choose <strong id="mrs_01_0439__b195615416613">Topic </strong>> <strong id="mrs_01_0439__b496115547614">List </strong>to access the topic list page of the current cluster.</span></li><li id="mrs_01_0439__li268441418014"><span>Click a topic name to access the <strong id="mrs_01_0439__b114281956767">Topic Summary</strong> page.</span></li><li id="mrs_01_0439__li37479411734"><span>Click <strong id="mrs_01_0439__b116796578614">Add Partitions</strong>. The page for adding partitions is displayed.</span><p><div class="fignone" id="mrs_01_0439__fig122581408519"><span class="figcap"><b>Figure 8 </b>Adding partitions</span><br><span><img id="mrs_01_0439__image12642538194510" src="en-us_image_0000001349090241.png"></span></div>
|
|
</p></li><li id="mrs_01_0439__li67287591335"><span>Confirm the topic name and modify the value of the <span class="parmname" id="mrs_01_0439__parmname1757312811712"><b>Partitions</b></span> parameter and click <span class="parmvalue" id="mrs_01_0439__parmvalue11578148671"><b>Add Partitions</b></span> to add partitions.</span><p><div class="fignone" id="mrs_01_0439__fig15559240162512"><span class="figcap"><b>Figure 9 </b>Modifying the number of partitions</span><br><span><img id="mrs_01_0439__image1938613275421" src="en-us_image_0000001296250048.png"></span></div>
|
|
</p></li><li id="mrs_01_0439__li16587143813254"><span>After the partitions are added successfully, click <span class="parmvalue" id="mrs_01_0439__parmvalue12593153817256"><b>Go to topic view</b></span> to return to the <strong id="mrs_01_0439__b16613313217">Topic Summary </strong>page.</span></li><li id="mrs_01_0439__li24991263166"><span>Check the number of partitions in <strong id="mrs_01_0439__b1986013241671">Partition Information</strong> in the lower part of the <strong id="mrs_01_0439__b1686519241872">Topic Summary</strong> page.</span><p><div class="fignone" id="mrs_01_0439__fig191755129282"><span class="figcap"><b>Figure 10 </b>Partition Information</span><br><span><img id="mrs_01_0439__image69702025155411" src="en-us_image_0000001349170145.png"></span></div>
|
|
</p></li><li id="mrs_01_0439__li547995283112"><span>(Optional) If you are not satisfied with the assigned partitions, you can use the partition reassignment function to automatically reassign partitions.</span><p><ol type="a" id="mrs_01_0439__ol676595519310"><li id="mrs_01_0439__li5780239104720">On the <strong id="mrs_01_0439__b610015341374">Topic Summary</strong> page, click <span class="parmvalue" id="mrs_01_0439__parmvalue110513341273"><b>Generate Partition Assignments</b></span>.</li><li id="mrs_01_0439__li2189125912311">Select the broker instance and click <span class="parmvalue" id="mrs_01_0439__parmvalue1628913475483"><b>Generate Partition Assignments</b></span> to generate a partition.</li><li id="mrs_01_0439__li2373428174620">After partition generation, click <span class="parmvalue" id="mrs_01_0439__parmvalue134150381870"><b>Go to topic view</b></span> to return to the <strong id="mrs_01_0439__b642014381375">Topic Summary</strong> page.</li><li id="mrs_01_0439__li793013302515">On the<strong id="mrs_01_0439__b14231174314390"> Topic Summary </strong>page, click<strong id="mrs_01_0439__b1592512486392"> Reassign Partitions</strong> to automatically assign partitions to the broker instance of the cluster.</li><li id="mrs_01_0439__li45552033247">Click <span class="parmvalue" id="mrs_01_0439__parmvalue49970492712"><b>Go to reassign partitions</b></span> to view details about the reassigned partitions.</li></ol>
|
|
</p></li><li id="mrs_01_0439__li3207945143217"><span>(Optional) If you are not satisfied with the automatically assigned partitions, you can manually assign the partitions.</span><p><ol type="a" id="mrs_01_0439__ol74044716326"><li id="mrs_01_0439__li1034185933217">On the <strong id="mrs_01_0439__b207681029114116">Topic Summary</strong> page, click <span class="parmvalue" id="mrs_01_0439__parmvalue1973518396539"><b>Manual Partition Assignments</b></span> to access the page for manually assign partitions.</li><li id="mrs_01_0439__li923013561416">Manually assign a broker ID to each partition replica, and click <span class="parmvalue" id="mrs_01_0439__parmvalue9279183445816"><b>Save Partition Assignment</b></span> to save the changes.</li><li id="mrs_01_0439__li1461294917581">Click <span class="parmvalue" id="mrs_01_0439__parmvalue135362885"><b>Go to topic view</b></span> to return to the <strong id="mrs_01_0439__b125911213814">Topic Summary</strong> page and view the partition details.</li></ol>
|
|
</p></li></ol>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="mrs_01_0435.html">Using KafkaManager</a></div>
|
|
</div>
|
|
</div>
|
|
|