提交 146fc437 编写于 作者: 神奇大叶子's avatar 神奇大叶子

1. indentation

上级 07ac4433
...@@ -38,8 +38,8 @@ public class SyncProducer { ...@@ -38,8 +38,8 @@ public class SyncProducer {
// 启动Producer实例 // 启动Producer实例
producer.start(); producer.start();
for (int i = 0; i < 100; i++) { for (int i = 0; i < 100; i++) {
// 创建消息,并指定Topic,Tag和消息体 // 创建消息,并指定Topic,Tag和消息体
Message msg = new Message("TopicTest" /* Topic */, Message msg = new Message("TopicTest" /* Topic */,
"TagA" /* Tag */, "TagA" /* Tag */,
("Hello RocketMQ " + i).getBytes(RemotingHelper.DEFAULT_CHARSET) /* Message body */ ("Hello RocketMQ " + i).getBytes(RemotingHelper.DEFAULT_CHARSET) /* Message body */
); );
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册