创建Topic

<p class="shortdesc">本文主要介绍如何创建Topic。</p> <section id="create_topic__steps_g3p_xmz_dmb"><div class="tasklabel"><h2 class="doc-tairway">操作步骤</h2></div><ol class="ol steps" id="create_topic__steps_g3p_xmz_dmb"><li class="li step stepexpand" id="create_topic__step_ylq_jxy_dmb"> <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">单击页面右上角<span class="ph uicontrol">创建</span>。</span> </li><li class="li step stepexpand"> <span class="ph cmd">在<span class="keyword wintitle">创建Topic</span>页面,根据以下信息完成Topic的基础配置。</span> <div class="itemgroup info"> <table class="table" id="create_topic__table_xb4_5wc_rmb"><caption></caption><colgroup><col><col></colgroup><thead class="thead"> <tr class="row"> <th class="entry" id="create_topic__table_xb4_5wc_rmb__entry__1">配置项</th> <th class="entry" id="create_topic__table_xb4_5wc_rmb__entry__2">说明</th> </tr> </thead><tbody class="tbody"> <tr class="row"> <td class="entry" headers="create_topic__table_xb4_5wc_rmb__entry__1 "> <p class="p">地域信息</p> </td> <td class="entry" headers="create_topic__table_xb4_5wc_rmb__entry__2 "> <p class="p">Topic所属地域。</p> </td> </tr> <tr class="row"> <td class="entry" headers="create_topic__table_xb4_5wc_rmb__entry__1 "> <p class="p">Topic</p> </td> <td class="entry" headers="create_topic__table_xb4_5wc_rmb__entry__2 "> <p class="p">填写Topic的名称,需唯一,创建后不能修改。</p> <p class="p">名称只能包含字母、数字、短横线-以及下划线_,最多支持64个字符。</p> </td> </tr> <tr class="row"> <td class="entry" headers="create_topic__table_xb4_5wc_rmb__entry__1 "> <p class="p">集群实例</p> </td> <td class="entry" headers="create_topic__table_xb4_5wc_rmb__entry__2 "> <p class="p">选择Topic所在集群实例。</p> </td> </tr> <tr class="row"> <td class="entry" headers="create_topic__table_xb4_5wc_rmb__entry__1 "> <p class="p">分区数量</p> </td> <td class="entry" headers="create_topic__table_xb4_5wc_rmb__entry__2 "> <p class="p">根据消息量选择分区数量。最多可创建6个分区,分区数量可增加,可参考<a class="xref" href="/ssr/help/middleware/Kafka/KafkaOperationManual.kafkaTopicManager.add_partition" target="_blank">增加分区数量</a>。</p> </td> </tr> <tr class="row"> <td class="entry" headers="create_topic__table_xb4_5wc_rmb__entry__1 "> <p class="p">副本数量</p> </td> <td class="entry" headers="create_topic__table_xb4_5wc_rmb__entry__2 "> <p class="p">选择副本数量。Kafka会在副本上备份消息数据,副本数量越多,可靠性越高,但性能会相应的降低。</p> </td> </tr> <tr class="row"> <td class="entry" headers="create_topic__table_xb4_5wc_rmb__entry__1 "> <p class="p">备注</p> </td> <td class="entry" headers="create_topic__table_xb4_5wc_rmb__entry__2 "> <p class="p">填写备注信息。</p> </td> </tr> </tbody></table> </div> </li><li class="li step stepexpand"> <span class="ph cmd">在<span class="ph uicontrol">基本配置</span>区域,确认配置信息无误后,单击<span class="ph uicontrol">确定</span>。</span> </li></ol></section> <section class="section result" id="create_topic__result_mfg_3wy_dmb"><div class="tasklabel"><h2 class="doc-tairway">执行结果</h2></div> <p class="p">在<span class="keyword wintitle">Topic管理</span>页面,可以查看到刚创建的Topic。</p> </section>
以上内容是否解决了您的问题?
请补全提交信息!
咨询·建议

电话咨询 - 7x24 小时

400-151-8800

邮件咨询

cloud@pingan.com

在线客服

7x24 小时,急速解答

工单支持

解决云产品相关技术问题