lizhanhui commented on code in PR #263: URL: https://github.com/apache/rocketmq-site/pull/263#discussion_r979776136
########## docs/02-生产者/05message1.md: ########## @@ -61,7 +61,7 @@ Apache RocketMQ可用于以三种方式发送消息:**同步、异步和单向 2. **设置 NameServer 的地址**。Apache RocketMQ很多方式设置NameServer地址(客户端配置中有介绍),这里是在代码中调用producer的API setNamesrvAddr进行设置,如果有多个NameServer,中间以分号隔开,比如"127.0.0.2:9876;127.0.0.3:9876"。 3. **第三步是构建消息**。指定topic、tag、body等信息,tag可以理解成标签,对消息进行再归类,RocketMQ可以在消费端对tag进行过滤。 Review Comment: ```suggestion 3. **第三步是构建待发送消息**。构建消息时,可以指定topic、tag、body,以及自定义键值对等。其中tag可以对消息进行再打标,后续订阅消费时,可根据tag进行过滤。 ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
