未验证 提交 0f860e5c 编写于 作者: H Heng Du 提交者: GitHub

Merge pull request #2802 from zhangjidi2016/develop

[ISSUE #2801]Fix NamesrvAddr connot set in Producer
...@@ -32,7 +32,7 @@ import org.apache.rocketmq.remoting.exception.RemotingException; ...@@ -32,7 +32,7 @@ import org.apache.rocketmq.remoting.exception.RemotingException;
public class Producer { public class Producer {
public static void main(String[] args) throws UnsupportedEncodingException { public static void main(String[] args) throws UnsupportedEncodingException {
try { try {
MQProducer producer = new DefaultMQProducer("please_rename_unique_group_name"); DefaultMQProducer producer = new DefaultMQProducer("please_rename_unique_group_name");
producer.start(); producer.start();
String[] tags = new String[] {"TagA", "TagB", "TagC", "TagD", "TagE"}; String[] tags = new String[] {"TagA", "TagB", "TagC", "TagD", "TagE"};
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册