doc-exports/docs/dms/umn/kafka-ug-0007.html
Chen, Junjie dd8a3a658b DMS UMN Initial Version
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
Co-authored-by: Chen, Junjie <chenjunjie@huawei.com>
Co-committed-by: Chen, Junjie <chenjunjie@huawei.com>
2022-12-08 00:33:11 +00:00

246 lines
24 KiB
HTML
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<a name="kafka-ug-0007"></a><a name="kafka-ug-0007"></a>
<h1 class="topictitle1">Modifying Kafka Parameters</h1>
<div id="body0000001163476917"><div class="section" id="kafka-ug-0007__section1239615401516"><h4 class="sectiontitle">Scenario</h4><p id="kafka-ug-0007__p135410463517">Your Kafka instances, topics, and consumers come with default configuration parameter settings. You can modify common parameters on the DMS console. For details about parameters that are not listed on the console, see the <a href="https://kafka.apache.org/documentation/#configuration" target="_blank" rel="noopener noreferrer">Kafka official website</a>.</p>
<p id="kafka-ug-0007__p1447162982015">Parameters of v1.1.0 instances are all static parameters. v2.3.0/2.7 instances have both dynamic and static parameters.</p>
<ul id="kafka-ug-0007__ul511035302118"><li id="kafka-ug-0007__li1211015534213">Dynamic parameters: Modifying dynamic parameters will not restart the instance.</li><li id="kafka-ug-0007__li11462557132112">Static parameters: After static parameters are modified, you must manually restart the instance.</li></ul>
<div class="note" id="kafka-ug-0007__note2045632781813"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="kafka-ug-0007__p11457132718183">Configuration parameters of some old instances cannot be modified. Check whether your instance parameters can be modified on the console. If they cannot be modified, contact customer service.</p>
</div></div>
</div>
<div class="section" id="kafka-ug-0007__section238819521351"><h4 class="sectiontitle">Prerequisites</h4><p id="kafka-ug-0007__p69839178620">You can modify configuration parameters of a Kafka instance when the instance is in the <strong id="kafka-ug-0007__b115638269158">Running</strong> state.</p>
</div>
<div class="section" id="kafka-ug-0007__section532133816620"><h4 class="sectiontitle">Procedure</h4><ol id="kafka-ug-0007__ol3688124014105"><li id="kafka-ug-0007__li2186699118249"><span>Log in to the management console.</span></li><li id="kafka-ug-0007__li14905725134512"><span>Click <span><img id="kafka-ug-0007__image489113210158" src="en-us_image_0143929918.png"></span> in the upper left corner to select a region.</span><p><div class="note" id="kafka-ug-0007__note596412409275"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="kafka-ug-0007__p11964174020277">Select the region where your Kafka instance is located.</p>
</div></div>
</p></li><li id="kafka-ug-0007__li189561034172215"><span>Click <strong id="kafka-ug-0007__b95365052495718">Service List</strong> and choose <strong id="kafka-ug-0007__b138420978495718">Application</strong> &gt; <strong id="kafka-ug-0007__b77890425395718">Distributed Message Service</strong>. The Kafka instance list is displayed.</span></li><li id="kafka-ug-0007__li4482191431412"><span>Click the desired Kafka instance to view the instance details.</span></li><li id="kafka-ug-0007__li1348010471272"><span>On the <strong id="kafka-ug-0007__b61731144191516">Parameters</strong> tab page, click <strong id="kafka-ug-0007__b12526553181516">Edit</strong> in the row containing the parameter to modify. <a href="#kafka-ug-0007__table131264453537">Table 1</a> describes the parameters of v1.1.0 instances. <a href="#kafka-ug-0007__table24142056192817">Table 2</a> and <a href="#kafka-ug-0007__table913673592919">Table 3</a> describe the parameters of v2.3.0/2.7 instances.</span><p>
<div class="tablenoborder"><a name="kafka-ug-0007__table131264453537"></a><a name="table131264453537"></a><table cellpadding="4" cellspacing="0" summary="" id="kafka-ug-0007__table131264453537" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Static parameters (v1.1.0 instances)</caption><thead align="left"><tr id="kafka-ug-0007__row1126124595313"><th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.3.2.5.2.1.2.5.1.1"><p id="kafka-ug-0007__p16127345155311">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="45%" id="mcps1.3.3.2.5.2.1.2.5.1.2"><p id="kafka-ug-0007__p91274454532">Description</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="15%" id="mcps1.3.3.2.5.2.1.2.5.1.3"><p id="kafka-ug-0007__p512744595310">Value Range</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="15%" id="mcps1.3.3.2.5.2.1.2.5.1.4"><p id="kafka-ug-0007__p1127194519538">Default Value</p>
</th>
</tr>
</thead>
<tbody><tr id="kafka-ug-0007__row378114205417"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.2.5.2.1.2.5.1.1 "><p id="kafka-ug-0007__p145731854115414">min.insync.replicas</p>
</td>
<td class="cellrowborder" valign="top" width="45%" headers="mcps1.3.3.2.5.2.1.2.5.1.2 "><p id="kafka-ug-0007__p7745131518153">If a producer sets the acks parameter to <strong id="kafka-ug-0007__b147221652713">all</strong> (or <strong id="kafka-ug-0007__b172275077">-1</strong>), the <strong id="kafka-ug-0007__b57221759718">min.insync.replicas</strong> parameter specifies the minimum number of replicas that must acknowledge a write for the write to be considered successful.</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.2.5.2.1.2.5.1.3 "><p id="kafka-ug-0007__p18573754105412">13</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.2.5.2.1.2.5.1.4 "><p id="kafka-ug-0007__p10573185445412">1</p>
</td>
</tr>
<tr id="kafka-ug-0007__row69028382546"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.2.5.2.1.2.5.1.1 "><p id="kafka-ug-0007__p1357315546546">message.max.bytes</p>
</td>
<td class="cellrowborder" valign="top" width="45%" headers="mcps1.3.3.2.5.2.1.2.5.1.2 "><p id="kafka-ug-0007__p10573115416541">Maximum length of a single message, in bytes.</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.2.5.2.1.2.5.1.3 "><p id="kafka-ug-0007__p175731354145410">010,485,760</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.2.5.2.1.2.5.1.4 "><p id="kafka-ug-0007__p1157310542541">10,485,760</p>
</td>
</tr>
<tr id="kafka-ug-0007__row162865369542"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.2.5.2.1.2.5.1.1 "><p id="kafka-ug-0007__p13573135420542">unclean.leader.election.enable</p>
</td>
<td class="cellrowborder" valign="top" width="45%" headers="mcps1.3.3.2.5.2.1.2.5.1.2 "><p id="kafka-ug-0007__p145744544549">Indicates whether to allow replicas not in the ISR set to be elected as the leader as a last resort, even though doing so may result in data loss.</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.2.5.2.1.2.5.1.3 "><p id="kafka-ug-0007__p16574754125412"><strong id="kafka-ug-0007__b17821357496">true</strong> or <strong id="kafka-ug-0007__b1680911591194">false</strong></p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.2.5.2.1.2.5.1.4 "><p id="kafka-ug-0007__p857495415415">true</p>
</td>
</tr>
<tr id="kafka-ug-0007__row1127104510531"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.2.5.2.1.2.5.1.1 "><p id="kafka-ug-0007__p31271345165318">connections.max.idle.ms</p>
</td>
<td class="cellrowborder" valign="top" width="45%" headers="mcps1.3.3.2.5.2.1.2.5.1.2 "><p id="kafka-ug-0007__p17127164505318">Idle connection timeout (in ms). Connections that are idle for the duration specified by this parameter will be closed.</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.2.5.2.1.2.5.1.3 "><p id="kafka-ug-0007__p41271945155312">5000600,000</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.2.5.2.1.2.5.1.4 "><p id="kafka-ug-0007__p3127164515538">600,000</p>
</td>
</tr>
<tr id="kafka-ug-0007__row12127845115313"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.2.5.2.1.2.5.1.1 "><p id="kafka-ug-0007__p9128204595310">log.retention.hours</p>
</td>
<td class="cellrowborder" valign="top" width="45%" headers="mcps1.3.3.2.5.2.1.2.5.1.2 "><p id="kafka-ug-0007__p612816456530">Duration (in hours) for retaining a log file.</p>
<p id="kafka-ug-0007__p224372465918">This parameter takes effect only for topics that have no aging time configured. If there is aging time configured for topics, it overrides this parameter.</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.2.5.2.1.2.5.1.3 "><p id="kafka-ug-0007__p17128124565310">1168</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.2.5.2.1.2.5.1.4 "><p id="kafka-ug-0007__p12128164585315">72</p>
</td>
</tr>
<tr id="kafka-ug-0007__row19128145105319"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.2.5.2.1.2.5.1.1 "><p id="kafka-ug-0007__p18128134515532">max.connections.per.ip</p>
</td>
<td class="cellrowborder" valign="top" width="45%" headers="mcps1.3.3.2.5.2.1.2.5.1.2 "><p id="kafka-ug-0007__p18128124535312">The maximum number of connections allowed from each IP address. Request for new connections will be rejected once the limit is reached. The limit set using this parameter will be replaced if there are overrides configured using the <strong id="kafka-ug-0007__b36921181107">max.connections.per.ip.overrides</strong> parameter.</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.2.5.2.1.2.5.1.3 "><p id="kafka-ug-0007__p712884515535">10020,000</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.2.5.2.1.2.5.1.4 "><p id="kafka-ug-0007__p212844595312">1000</p>
</td>
</tr>
<tr id="kafka-ug-0007__row111282450533"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.2.5.2.1.2.5.1.1 "><p id="kafka-ug-0007__p131281145105310">group.max.session.timeout.ms</p>
</td>
<td class="cellrowborder" valign="top" width="45%" headers="mcps1.3.3.2.5.2.1.2.5.1.2 "><p id="kafka-ug-0007__p212804575316">The maximum session timeout (in ms) for consumers. A longer timeout gives consumers more time to process messages between heartbeats but results in a longer time to detect failures.</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.2.5.2.1.2.5.1.3 "><p id="kafka-ug-0007__p012813458534">60001,800,000</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.2.5.2.1.2.5.1.4 "><p id="kafka-ug-0007__p31291745185318">1,800,000</p>
</td>
</tr>
<tr id="kafka-ug-0007__row812954515314"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.2.5.2.1.2.5.1.1 "><p id="kafka-ug-0007__p7129945185318">default.replication.factor</p>
</td>
<td class="cellrowborder" valign="top" width="45%" headers="mcps1.3.3.2.5.2.1.2.5.1.2 "><p id="kafka-ug-0007__p16129204519539">The default number of replicas configured for an automatically created topic.</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.2.5.2.1.2.5.1.3 "><p id="kafka-ug-0007__p7129184514534">13</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.2.5.2.1.2.5.1.4 "><p id="kafka-ug-0007__p31291845195316">3</p>
</td>
</tr>
<tr id="kafka-ug-0007__row21296456532"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.2.5.2.1.2.5.1.1 "><p id="kafka-ug-0007__p1412910455530">num.partitions</p>
</td>
<td class="cellrowborder" valign="top" width="45%" headers="mcps1.3.3.2.5.2.1.2.5.1.2 "><p id="kafka-ug-0007__p4129144585320">The default number of partitions configured for each automatically created topic.</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.2.5.2.1.2.5.1.3 "><p id="kafka-ug-0007__p181292045115312">1100</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.2.5.2.1.2.5.1.4 "><p id="kafka-ug-0007__p10129104595320">3</p>
</td>
</tr>
<tr id="kafka-ug-0007__row9130245165318"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.2.5.2.1.2.5.1.1 "><p id="kafka-ug-0007__p14130104516532">group.min.session.timeout.ms</p>
</td>
<td class="cellrowborder" valign="top" width="45%" headers="mcps1.3.3.2.5.2.1.2.5.1.2 "><p id="kafka-ug-0007__p6130114535313">The minimum session timeout (in ms) for consumers. A shorter timeout enables quicker failure detection but results in more frequent consumer heartbeating, which can overwhelm broker resources.</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.2.5.2.1.2.5.1.3 "><p id="kafka-ug-0007__p101301545165320">6000300,000</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.2.5.2.1.2.5.1.4 "><p id="kafka-ug-0007__p413164555314">6000</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><a name="kafka-ug-0007__table24142056192817"></a><a name="table24142056192817"></a><table cellpadding="4" cellspacing="0" summary="" id="kafka-ug-0007__table24142056192817" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Dynamic parameters (v2.3.0/2.7 instances)</caption><thead align="left"><tr id="kafka-ug-0007__row1341535622818"><th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.3.2.5.2.2.2.5.1.1"><p id="kafka-ug-0007__p341565619286">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="45%" id="mcps1.3.3.2.5.2.2.2.5.1.2"><p id="kafka-ug-0007__p17415756162814">Description</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="15%" id="mcps1.3.3.2.5.2.2.2.5.1.3"><p id="kafka-ug-0007__p276416413581">Value Range</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="15%" id="mcps1.3.3.2.5.2.2.2.5.1.4"><p id="kafka-ug-0007__p382211345810">Default Value</p>
</th>
</tr>
</thead>
<tbody><tr id="kafka-ug-0007__row141575642818"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.2.5.2.2.2.5.1.1 "><p id="kafka-ug-0007__p14415756102814">min.insync.replicas</p>
</td>
<td class="cellrowborder" valign="top" width="45%" headers="mcps1.3.3.2.5.2.2.2.5.1.2 "><p id="kafka-ug-0007__p941595613283">If a producer sets the acks parameter to <strong id="kafka-ug-0007__b55394531862">all</strong> (or <strong id="kafka-ug-0007__b224525716613">-1</strong>), the <strong id="kafka-ug-0007__b14410921771">min.insync.replicas</strong> parameter specifies the minimum number of replicas that must acknowledge a write for the write to be considered successful.</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.2.5.2.2.2.5.1.3 "><p id="kafka-ug-0007__p1776410455812">13</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.2.5.2.2.2.5.1.4 "><p id="kafka-ug-0007__p582221345819">1</p>
</td>
</tr>
<tr id="kafka-ug-0007__row34154565280"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.2.5.2.2.2.5.1.1 "><p id="kafka-ug-0007__p74151156122812">message.max.bytes</p>
</td>
<td class="cellrowborder" valign="top" width="45%" headers="mcps1.3.3.2.5.2.2.2.5.1.2 "><p id="kafka-ug-0007__p20415195618287">Maximum length of a single message, in bytes.</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.2.5.2.2.2.5.1.3 "><p id="kafka-ug-0007__p876412435815">010,485,760</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.2.5.2.2.2.5.1.4 "><p id="kafka-ug-0007__p1822151395813">10,485,760</p>
</td>
</tr>
<tr id="kafka-ug-0007__row13415556192811"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.2.5.2.2.2.5.1.1 "><p id="kafka-ug-0007__p54151456142813">unclean.leader.election.enable</p>
</td>
<td class="cellrowborder" valign="top" width="45%" headers="mcps1.3.3.2.5.2.2.2.5.1.2 "><p id="kafka-ug-0007__p4918454184520">Indicates whether to allow replicas not in the ISR set to be elected as the leader as a last resort, even though doing so may result in data loss.</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.2.5.2.2.2.5.1.3 "><p id="kafka-ug-0007__p0764544587"><strong id="kafka-ug-0007__b93381203104">true</strong> or <strong id="kafka-ug-0007__b173381102108">false</strong></p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.2.5.2.2.2.5.1.4 "><p id="kafka-ug-0007__p19822131316582">true</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><a name="kafka-ug-0007__table913673592919"></a><a name="table913673592919"></a><table cellpadding="4" cellspacing="0" summary="" id="kafka-ug-0007__table913673592919" frame="border" border="1" rules="all"><caption><b>Table 3 </b>Static parameters (v2.3.0/2.7 instances)</caption><thead align="left"><tr id="kafka-ug-0007__row4136835172914"><th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.3.2.5.2.3.2.5.1.1"><p id="kafka-ug-0007__p313613354296">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="45%" id="mcps1.3.3.2.5.2.3.2.5.1.2"><p id="kafka-ug-0007__p12136153516290">Description</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="15%" id="mcps1.3.3.2.5.2.3.2.5.1.3"><p id="kafka-ug-0007__p1855519351490">Value Range</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="15%" id="mcps1.3.3.2.5.2.3.2.5.1.4"><p id="kafka-ug-0007__p109553214494">Default Value</p>
</th>
</tr>
</thead>
<tbody><tr id="kafka-ug-0007__row14136133514294"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.2.5.2.3.2.5.1.1 "><p id="kafka-ug-0007__p913615357293">connections.max.idle.ms</p>
</td>
<td class="cellrowborder" valign="top" width="45%" headers="mcps1.3.3.2.5.2.3.2.5.1.2 "><p id="kafka-ug-0007__p31369352293">Idle connection timeout (in ms). Connections that are idle for the duration specified by this parameter will be closed.</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.2.5.2.3.2.5.1.3 "><p id="kafka-ug-0007__p11555435194910">5000600,000</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.2.5.2.3.2.5.1.4 "><p id="kafka-ug-0007__p495832134913">600,000</p>
</td>
</tr>
<tr id="kafka-ug-0007__row1913613592917"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.2.5.2.3.2.5.1.1 "><p id="kafka-ug-0007__p15136183514296">log.retention.hours</p>
</td>
<td class="cellrowborder" valign="top" width="45%" headers="mcps1.3.3.2.5.2.3.2.5.1.2 "><p id="kafka-ug-0007__p4137183517291">Duration (in hours) for retaining a log file.</p>
<p id="kafka-ug-0007__p20326105419208">This parameter takes effect only for topics that have no aging time configured. If there is aging time configured for topics, it overrides this parameter.</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.2.5.2.3.2.5.1.3 "><p id="kafka-ug-0007__p7555735174912">1168</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.2.5.2.3.2.5.1.4 "><p id="kafka-ug-0007__p1295932104919">72</p>
</td>
</tr>
<tr id="kafka-ug-0007__row41371735132919"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.2.5.2.3.2.5.1.1 "><p id="kafka-ug-0007__p1137935132914">max.connections.per.ip</p>
</td>
<td class="cellrowborder" valign="top" width="45%" headers="mcps1.3.3.2.5.2.3.2.5.1.2 "><p id="kafka-ug-0007__p68667211715">The maximum number of connections allowed from each IP address. Request for new connections will be rejected once the limit is reached. The limit set using this parameter will be replaced if there are overrides configured using the <strong id="kafka-ug-0007__b1081419193011">max.connections.per.ip.overrides</strong> parameter.</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.2.5.2.3.2.5.1.3 "><p id="kafka-ug-0007__p15555173518491">10020,000</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.2.5.2.3.2.5.1.4 "><p id="kafka-ug-0007__p5951332164916">1000</p>
</td>
</tr>
<tr id="kafka-ug-0007__row1913714359292"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.2.5.2.3.2.5.1.1 "><p id="kafka-ug-0007__p201371635102913">group.max.session.timeout.ms</p>
</td>
<td class="cellrowborder" valign="top" width="45%" headers="mcps1.3.3.2.5.2.3.2.5.1.2 "><p id="kafka-ug-0007__p151371335152911">The maximum session timeout (in ms) for consumers. A longer timeout gives consumers more time to process messages between heartbeats but results in a longer time to detect failures.</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.2.5.2.3.2.5.1.3 "><p id="kafka-ug-0007__p45561735154918">60001,800,000</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.2.5.2.3.2.5.1.4 "><p id="kafka-ug-0007__p89513214493">1,800,000</p>
</td>
</tr>
<tr id="kafka-ug-0007__row613793512912"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.2.5.2.3.2.5.1.1 "><p id="kafka-ug-0007__p11373359291">default.replication.factor</p>
</td>
<td class="cellrowborder" valign="top" width="45%" headers="mcps1.3.3.2.5.2.3.2.5.1.2 "><p id="kafka-ug-0007__p14137835112910">The default number of replicas configured for an automatically created topic.</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.2.5.2.3.2.5.1.3 "><p id="kafka-ug-0007__p955613544913">13</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.2.5.2.3.2.5.1.4 "><p id="kafka-ug-0007__p695193264915">3</p>
</td>
</tr>
<tr id="kafka-ug-0007__row41371235182911"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.2.5.2.3.2.5.1.1 "><p id="kafka-ug-0007__p14137435142916">num.partitions</p>
</td>
<td class="cellrowborder" valign="top" width="45%" headers="mcps1.3.3.2.5.2.3.2.5.1.2 "><p id="kafka-ug-0007__p1313783510291">The default number of partitions configured for each automatically created topic.</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.2.5.2.3.2.5.1.3 "><p id="kafka-ug-0007__p45561635184916">1100</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.2.5.2.3.2.5.1.4 "><p id="kafka-ug-0007__p595193219495">3</p>
</td>
</tr>
<tr id="kafka-ug-0007__row1651619559373"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.2.5.2.3.2.5.1.1 "><p id="kafka-ug-0007__p5516155518374">group.min.session.timeout.ms</p>
</td>
<td class="cellrowborder" valign="top" width="45%" headers="mcps1.3.3.2.5.2.3.2.5.1.2 "><p id="kafka-ug-0007__p115164552377">The minimum session timeout (in ms) for consumers. A shorter timeout enables quicker failure detection but results in more frequent consumer heartbeating, which can overwhelm broker resources.</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.2.5.2.3.2.5.1.3 "><p id="kafka-ug-0007__p955663554911">6000300,000</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.2.5.2.3.2.5.1.4 "><p id="kafka-ug-0007__p19633294911">6000</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="note" id="kafka-ug-0007__note167921324483"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><ul id="kafka-ug-0007__ul660422211119"><li id="kafka-ug-0007__li1660422216117">To modify multiple dynamic or static parameters at a time, click <strong id="kafka-ug-0007__b915715523719">Modify</strong> above the parameter list.</li><li id="kafka-ug-0007__li7619194818116">If you want to restore the default values, click <strong id="kafka-ug-0007__b12923104319014">Restore Default</strong> in the row containing the desired parameter.</li></ul>
</div></div>
</p></li><li id="kafka-ug-0007__li1782532922614"><span>Click <strong id="kafka-ug-0007__b88261119162019">Save</strong>.</span><p><div class="note" id="kafka-ug-0007__note41737925115"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="kafka-ug-0007__p17178149125117">Modifying dynamic parameters will not restart the instance. <strong id="kafka-ug-0007__b1164371352316">Static parameter modification requires manual restart of the instance.</strong></p>
</div></div>
</p></li></ol>
</div>
</div>