获取生产者示例代码
<p class="shortdesc">本文主要介绍如何获取生产者示例代码。</p>
<section class="section prereq" id="code_producer__prereq_kmw_kbx_cmb"><div class="tasklabel"><h2 class="doc-tairway">前提条件</h2></div>
<p class="p">您已成功申请发布,可参考<a class="xref" href="https://pinganyun.com/ssr/help/middleware/pamq/quickstart.publish" target="_blank">申请发布</a>。</p>
</section>
<section class="section context"><div class="tasklabel"><h2 class="doc-tairway">背景信息</h2></div>
<p class="p">生产者示例代码提供了生产者客户端消息发送的示例代码,可自动填入Topic、Producer
Id以及接入点等参数信息,无需手动填写,方便您快速集成SDK到生产者客户端应用程序。</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="https://pinganyun.com/console/mq/topic/list" target="_blank">消息队列MQ管理控制台</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="keyword wintitle">发布管理</span>页面,选择目标地域。</span>
</li><li class="li step stepexpand">
<span class="ph cmd">单击目标生产者<span class="ph uicontrol">操作</span>列的<span class="ph uicontrol">示例代码</span>。</span>
</li><li class="li step stepexpand">
<span class="ph cmd">在<span class="keyword wintitle">示例代码</span>页面,单击<span class="ph uicontrol">复制</span>。</span>
<div class="itemgroup info">
<img class="image" id="code_producer__image_n5j_htx_dmb" src="https://pcp-portal-sca.obs-cn-shenzhen.pinganyun.com/pcp-portal-sca/20202209170658-1ca8392e909e.png">
</div>
</li></ol></section>
提交成功!非常感谢您的反馈,我们会继续努力做到更好!