按时间查询
<p class="shortdesc">本文主要介绍如何通过时间查询消息。</p>
<section><div class="tasklabel"><h2 class="doc-tairway">操作步骤</h2></div><ol class="ol steps"><li class="li step stepexpand">
<span class="ph cmd">登录<a class="xref" href="/console/kafka/topiclist" target="_blank">消息队列Kafka控制台</a>。</span>
</li><li class="li step stepexpand">
<span class="ph cmd">单击左侧导航栏<span class="ph menucascade"><span class="ph uicontrol">查询中心</span><abbr> > </abbr><span class="ph uicontrol">按时间查询</span></span>。</span>
</li><li class="li step stepexpand">
<span class="ph cmd">在<span class="ph uicontrol">按时间查询</span>页面,选择目标地域。</span>
</li><li class="li step stepexpand">
<span class="ph cmd">在搜索区域,选择需查询的Topic名称、消息发送至的分区以及消息发送的时间,单击<img class="image" id="time_query__image_ssv_wpg_smb" src="https://obs-cn-shanghai.fincloud.pinganyun.com/pacloud/20221411145353-16e1e53a9334.png">。</span>
<div class="itemgroup info">
<div class="note note note_note"><span class="note__title">说明:</span> 消息查询页面最多可显示查询时间最近的10条消息。</div>
<img class="image" id="time_query__image_sc4_1qg_smb" src="https://obs-cn-shanghai.fincloud.pinganyun.com/pacloud/20221411145353-1d8ef53a9674.png" width="830">
</div>
</li><li class="li step stepexpand">
<span class="ph cmd">单击消息<span class="ph uicontrol">操作</span>列的<span class="ph uicontrol">消息详情</span>,即可查看消息Key和消息的具体内容。</span>
<div class="itemgroup info">
<img class="image" id="time_query__image_prn_hqg_smb" src="https://obs-cn-shanghai.fincloud.pinganyun.com/pacloud/20221411145353-14a59a9e9b62.png">
<ul class="ul" id="time_query__ul_swl_3qg_smb">
<li class="li"><strong class="ph b">Key</strong>:消息的标识。</li>
<li class="li"><strong class="ph b">keysize</strong>:消息Key的大小。</li>
<li class="li"><strong class="ph b">value</strong>:消息的具体内容。</li>
<li class="li"><strong class="ph b">valuesize</strong>:消息的大小。</li>
</ul>
</div>
</li></ol></section>
提交成功!非常感谢您的反馈,我们会继续努力做到更好!