发送消息
<p class="shortdesc">本文主要介绍如何通过控制台发送消息。</p>
<section class="section prereq" id="send_message__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>
<div class="itemgroup info">
<table class="table" id="send_message__table_jbc_fpd_rmb"><caption></caption><colgroup><col><col></colgroup><thead class="thead">
<tr class="row">
<th class="entry" id="send_message__table_jbc_fpd_rmb__entry__1">配置项</th>
<th class="entry" id="send_message__table_jbc_fpd_rmb__entry__2">说明</th>
</tr>
</thead><tbody class="tbody">
<tr class="row">
<td class="entry" headers="send_message__table_jbc_fpd_rmb__entry__1 ">
<p class="p">Topic</p>
</td>
<td class="entry" headers="send_message__table_jbc_fpd_rmb__entry__2 ">
<p class="p">消息需要发送到的Topic。</p>
</td>
</tr>
<tr class="row">
<td class="entry" headers="send_message__table_jbc_fpd_rmb__entry__1 ">
<p class="p">所属集群</p>
</td>
<td class="entry" headers="send_message__table_jbc_fpd_rmb__entry__2 ">
<p class="p">Topic所属集群。</p>
</td>
</tr>
<tr class="row">
<td class="entry" headers="send_message__table_jbc_fpd_rmb__entry__1 ">
<p class="p">消息Key</p>
</td>
<td class="entry" headers="send_message__table_jbc_fpd_rmb__entry__2 ">
<p class="p">填写消息关键字。</p>
</td>
</tr>
<tr class="row">
<td class="entry" headers="send_message__table_jbc_fpd_rmb__entry__1 ">
<p class="p">消息分区</p>
</td>
<td class="entry" headers="send_message__table_jbc_fpd_rmb__entry__2 ">
<p class="p">选择消息需要发送到的分区。</p>
</td>
</tr>
<tr class="row">
<td class="entry" headers="send_message__table_jbc_fpd_rmb__entry__1 ">
<p class="p">消息内容</p>
</td>
<td class="entry" headers="send_message__table_jbc_fpd_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>
</li></ol></section>
提交成功!非常感谢您的反馈,我们会继续努力做到更好!