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>
90 lines
9.6 KiB
HTML
90 lines
9.6 KiB
HTML
<a name="mrs_01_0438"></a><a name="mrs_01_0438"></a>
|
|
|
|
<h1 class="topictitle1">Managing Kafka Clusters</h1>
|
|
<div id="body1589421632408"><p id="mrs_01_0438__p18189278575">This section applies to MRS 1.9.2 clusters.</p>
|
|
<p id="mrs_01_0438__p1110342519435">Kafka cluster management includes the following operations:</p>
|
|
<ul id="mrs_01_0438__ul15880123524719"><li id="mrs_01_0438__li128801235174714"><a href="#mrs_01_0438__section8713185103014">Adding a Cluster on the KafkaManager Web UI</a></li><li id="mrs_01_0438__li68991950105419"><a href="#mrs_01_0438__section776745110472">Updating Cluster Parameters</a></li><li id="mrs_01_0438__li19499135335418"><a href="#mrs_01_0438__section656918369521">Deleting a Cluster on the KafkaManager Web UI</a></li></ul>
|
|
<div class="section" id="mrs_01_0438__section8713185103014"><a name="mrs_01_0438__section8713185103014"></a><a name="section8713185103014"></a><h4 class="sectiontitle">Adding a Cluster on the KafkaManager Web UI</h4><p id="mrs_01_0438__p1063612923011">After a Kafka cluster is created for the first time, a default Kafka cluster named <strong id="mrs_01_0438__b188451048724">my-cluster</strong> is created on the KafkaManager web UI. You can also add Kafka clusters that have been created on the MRS management console on the KafkaManager web UI to manage multiple Kafka clusters.</p>
|
|
<ol id="mrs_01_0438__ol1893163123612"><li id="mrs_01_0438__li1169092217820"><span>Log in to the KafkaManager web UI.</span></li><li id="mrs_01_0438__li962724713368"><span>In the upper part of the page, choose <span class="menucascade" id="mrs_01_0438__menucascade458111583219"><b><span class="uicontrol" id="mrs_01_0438__uicontrol85817581122">Cluster</span></b> > <b><span class="uicontrol" id="mrs_01_0438__uicontrol25813581721">Add Cluster</span></b></span>.</span></li><li id="mrs_01_0438__li14803185563616"><span>Set the cluster parameters. For the following parameters, refer to their example values. Retain the default values for other parameters.</span><p>
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="mrs_01_0438__table19287112011164" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Cluster parameters to be modified</caption><thead align="left"><tr id="mrs_01_0438__row142881620161613"><th align="left" class="cellrowborder" valign="top" width="33.33333333333333%" id="mcps1.3.4.3.3.2.1.2.4.1.1"><p id="mrs_01_0438__p428832019167">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="33.33333333333333%" id="mcps1.3.4.3.3.2.1.2.4.1.2"><p id="mrs_01_0438__p1728811208167">Example Value</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="33.33333333333333%" id="mcps1.3.4.3.3.2.1.2.4.1.3"><p id="mrs_01_0438__p16288152012163">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="mrs_01_0438__row1328842018161"><td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.4.3.3.2.1.2.4.1.1 "><p id="mrs_01_0438__p112881820151615">Cluster Name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.4.3.3.2.1.2.4.1.2 "><p id="mrs_01_0438__p15288820191616">mrs-demo</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.4.3.3.2.1.2.4.1.3 "><p id="mrs_01_0438__p4288192015161">Name of the cluster to be added on the KafkaManager web UI</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="mrs_01_0438__row428816206164"><td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.4.3.3.2.1.2.4.1.1 "><p id="mrs_01_0438__p1528819204161">Cluster Zookeeper Hosts</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.4.3.3.2.1.2.4.1.2 "><p id="mrs_01_0438__p569618424174">zk1_ip:zk1_port, zk2_ip:zk2_port/kafka</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.4.3.3.2.1.2.4.1.3 "><p id="mrs_01_0438__p62881220171610">ZooKeeper address of the cluster to be added</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="mrs_01_0438__row192882020131615"><td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.4.3.3.2.1.2.4.1.1 "><p id="mrs_01_0438__p2288520111616">Kafka Version</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.4.3.3.2.1.2.4.1.2 "><p id="mrs_01_0438__p1128892081611">1.1.0</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.4.3.3.2.1.2.4.1.3 "><p id="mrs_01_0438__p072102521813">Kafka version of the cluster to be added. The default value is <strong id="mrs_01_0438__b83798271531">1.1.0</strong>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="mrs_01_0438__row1225617469305"><td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.4.3.3.2.1.2.4.1.1 "><p id="mrs_01_0438__p102561146143014">Enable JMX Polling (Set JMX_PORT env variable before starting kafka server)</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.4.3.3.2.1.2.4.1.2 "><p id="mrs_01_0438__p0256546113015">Selected</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.4.3.3.2.1.2.4.1.3 "><p id="mrs_01_0438__p14256134613010">-</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="mrs_01_0438__row162881620111612"><td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.4.3.3.2.1.2.4.1.1 "><p id="mrs_01_0438__p034693182215">Poll consumer information (Not recommended for large # of consumers)</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.4.3.3.2.1.2.4.1.2 "><p id="mrs_01_0438__p144891512219">Selected</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.4.3.3.2.1.2.4.1.3 "><p id="mrs_01_0438__p19289720161616">-</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="mrs_01_0438__row228922016166"><td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.4.3.3.2.1.2.4.1.1 "><p id="mrs_01_0438__p634693202212">Enable Active OffsetCache (Not recommended for large # of consumers)</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.4.3.3.2.1.2.4.1.2 "><p id="mrs_01_0438__p1048715519225">Selected</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.4.3.3.2.1.2.4.1.3 "><p id="mrs_01_0438__p14289182017162">-</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="mrs_01_0438__row79341058112113"><td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.4.3.3.2.1.2.4.1.1 "><p id="mrs_01_0438__p14935115817216">Display Broker and Topic Size (only works after applying this patch)</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.4.3.3.2.1.2.4.1.2 "><p id="mrs_01_0438__p10935458102110">Selected</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.4.3.3.2.1.2.4.1.3 "><p id="mrs_01_0438__p1693585822118">-</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="mrs_01_0438__row201616212229"><td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.4.3.3.2.1.2.4.1.1 "><p id="mrs_01_0438__p10288182011169">Security Protocol</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.4.3.3.2.1.2.4.1.2 "><p id="mrs_01_0438__p162881620171616">PLAINTEXT</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.4.3.3.2.1.2.4.1.3 "><ul id="mrs_01_0438__ul1533223923116"><li id="mrs_01_0438__li1739154317314">For a Kafka cluster with Kerberos authentication enabled, select <strong id="mrs_01_0438__b1284354318">SASL_PLAINTEXT</strong>.</li><li id="mrs_01_0438__li1033219395312">For a Kafka cluster with Kerberos authentication disabled, select <strong id="mrs_01_0438__b816372418559">PLAINTEXT</strong>.</li></ul>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</p></li><li id="mrs_01_0438__li28811786388"><span>Click <strong id="mrs_01_0438__b1717565512554">Save</strong>.</span></li></ol>
|
|
<p id="mrs_01_0438__p9755346154718"></p>
|
|
</div>
|
|
<div class="section" id="mrs_01_0438__section776745110472"><a name="mrs_01_0438__section776745110472"></a><a name="section776745110472"></a><h4 class="sectiontitle">Updating Cluster Parameters</h4><ol id="mrs_01_0438__ol17616192355618"><li id="mrs_01_0438__li10931154515568"><span>Log in to the KafkaManager web UI.</span></li><li id="mrs_01_0438__li136168234563"><span>Click <strong id="mrs_01_0438__b8775122285611">Modify</strong> in the <strong id="mrs_01_0438__b739518259564">Operations</strong> column of the cluster.</span></li><li id="mrs_01_0438__li228653325918"><span>Go to the cluster configuration page and modify cluster parameters.</span></li></ol>
|
|
</div>
|
|
<div class="section" id="mrs_01_0438__section656918369521"><a name="mrs_01_0438__section656918369521"></a><a name="section656918369521"></a><h4 class="sectiontitle">Deleting a Cluster on the KafkaManager Web UI</h4><ol id="mrs_01_0438__ol182160408014"><li id="mrs_01_0438__li14603592019"><span>Log in to the KafkaManager web UI.</span></li><li id="mrs_01_0438__li1495017490018"><span>Click <strong id="mrs_01_0438__b49211398413">Disable</strong> in the <strong id="mrs_01_0438__b1992616916420">Operations</strong> column of the cluster.</span></li><li id="mrs_01_0438__li12165402017"><span>When <strong id="mrs_01_0438__b111281918943">Delete</strong> or <strong id="mrs_01_0438__b81288180413">Enable</strong> is displayed in the <strong id="mrs_01_0438__b1812911185412">Operations</strong> column on the cluster list page, click <strong id="mrs_01_0438__b812921820419">Delete</strong> to delete the cluster. You can also click <strong id="mrs_01_0438__b1310111720311">Enable</strong> to enable the cluster.</span></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>
|
|
|