forked from docs/doc-exports
Reviewed-by: Liudmila Denisova <ldenisov@noreply.gitea.eco.tsi-dev.otc-service.com> Co-authored-by: chenjunjie <chenjunjie@huawei.com> Co-committed-by: chenjunjie <chenjunjie@huawei.com>
20 lines
2.8 KiB
HTML
20 lines
2.8 KiB
HTML
<a name="hrm-ug-059"></a><a name="hrm-ug-059"></a>
|
|
|
|
<h1 class="topictitle1">Changing RocketMQ Message Retention Period</h1>
|
|
<div id="body0000001664211450"><p id="hrm-ug-059__p8186154815342">Message retention period is a period that messages in a topic are retained for. Consumers must retrieve messages before this period ends. Otherwise, the messages will be deleted and can no longer be retrieved.</p>
|
|
<p id="hrm-ug-059__p454450171719">The retention period of normal messages and dead letter messages is controlled by and changes with the message retention period.</p>
|
|
<p id="hrm-ug-059__p19585129153614">After creating an instance, you can modify its message retention period based on service requirements. Changing the retention period does not restart the instance. The default message retention period is 48 hours.</p>
|
|
<div class="section" id="hrm-ug-059__section886827145612"><h4 class="sectiontitle">Prerequisite</h4><p id="hrm-ug-059__p543543618569">A RocketMQ instance has been created.</p>
|
|
</div>
|
|
<div class="section" id="hrm-ug-059__section12327145093415"><h4 class="sectiontitle">Changing RocketMQ Message Retention Period</h4><ol id="hrm-ug-059__ol11981112455211"><li id="hrm-ug-059__li19141036250"><span>Log in to the console.</span></li><li id="hrm-ug-059__li111912852914"><span>Click <span><img id="hrm-ug-059__hrm-ug-004_image17034043105351" src="en-us_image_0143929918.png"></span> in the upper left corner to select a region.</span><p><p id="hrm-ug-059__hrm-ug-004_p1781162141312">DMS for RocketMQ instances in different regions cannot communicate with each other over an intranet. Select a nearest location for low latency and fast access.</p>
|
|
</p></li><li id="hrm-ug-059__li18784350450"><span>Click <span><img id="hrm-ug-059__hrm-ug-004_image1368672619173" src="en-us_image_0000001143589128.png"></span> and choose <strong id="hrm-ug-059__hrm-ug-004_b161861717193510">Application</strong> > <strong id="hrm-ug-059__hrm-ug-004_b168732112355">Distributed Message Service for RocketMQ</strong> to open the console of DMS for RocketMQ.</span></li><li id="hrm-ug-059__li13773734183812"><span>Click a RocketMQ instance to go to the instance details page.</span></li><li id="hrm-ug-059__li154481936184419"><span>Click <span><img id="hrm-ug-059__image116659022112" src="en-us_image_0000001093972624.png"></span> next to <strong id="hrm-ug-059__b20665180132120">Message Retention</strong>.</span><p><p id="hrm-ug-059__p613516612452">Enter an integer in the range from 1 to 720.</p>
|
|
</p></li><li id="hrm-ug-059__li319217272396"><span>Click <span><img id="hrm-ug-059__image31041113154313" src="en-us_image_0000002111665312.png"></span>. The modification result is displayed in the upper right corner of the page.</span></li></ol>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="hrm-ug-026.html">Managing Messages</a></div>
|
|
</div>
|
|
</div>
|
|
|