查看分区状态
<p class="shortdesc">本文主要介绍如何查看Topic的分区状态。</p>
<section class="section prereq" id="partition_state__prereq_p5k_cxy_dmb"><div class="tasklabel"><h2 class="doc-tairway">前提条件</h2></div>
<p class="p">您已成功创建Topic,可参考<a class="xref" href="/ssr/help/middleware/Kafka/KafkaOperationManual.kafkaTopicManager.create_topic" target="_blank">创建Topic</a>。</p>
</section>
<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 uicontrol">Topic管理</span>。</span>
</li><li class="li step stepexpand">
<span class="ph cmd">在<span class="keyword wintitle">Topic管理</span>页面,选择目标地域。</span>
</li><li class="li step stepexpand">
<span class="ph cmd">单击目标Topic<span class="ph uicontrol">操作</span>列的<span class="ph uicontrol">分区状态</span>。</span>
</li><li class="li step stepexpand">
<span class="ph cmd">在<span class="ph uicontrol">分区状态</span>页面,可查看每个分区的<span class="ph uicontrol">最大位点</span>、<span class="ph uicontrol">起始位点</span>、<span class="ph uicontrol">副本</span>、<span class="ph uicontrol">ISR</span>以及<span class="ph uicontrol">Leader</span>等信息。</span>
<div class="itemgroup info">
<img class="image" id="partition_state__image_drb_prd_rmb" src="https://obs-cn-shanghai.fincloud.pinganyun.com/pacloud/20221411145353-162b0f999c7e.png" width="830">
<ul class="ul" id="partition_state__ul_fr1_gkf_5mb">
<li class="li"><span class="ph uicontrol">最大位点</span>:该分区下的最大消息位点。</li>
<li class="li"><span class="ph uicontrol">起始位点</span>:该分区下有效的最小位点。</li>
<li class="li"><span class="ph uicontrol">副本</span>:消息的备份,创建Topic时设置。</li>
<li class="li"><span class="ph uicontrol">ISR</span>:In-Sync
Replicas,同步副本列表,包含所有与Leader副本保持一定程度同步的副本以及Leader副本。</li>
<li class="li"><span class="ph uicontrol">Leader</span>:每个分区会挑选出一个副本作为Leader,该分区的所有消息生产和消费都在Leader上完成,当Leader与副本一致时,代表只有一个副本。</li>
</ul>
</div>
</li></ol></section>
提交成功!非常感谢您的反馈,我们会继续努力做到更好!