You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@rocketmq.apache.org by GitBox <gi...@apache.org> on 2019/02/11 06:58:49 UTC

[GitHub] wlliqipeng commented on a change in pull request #753: [RIP-9] RocketMQ Develop Guide: enhance description section for broker configuration

wlliqipeng commented on a change in pull request #753: [RIP-9] RocketMQ Develop Guide: enhance description section for broker configuration
URL: https://github.com/apache/rocketmq/pull/753#discussion_r255392033
 
 

 ##########
 File path: docs/cn/best_practice.md
 ##########
 @@ -176,11 +176,24 @@ msgId一定是全局唯一标识符,但是实际使用中,可能会存在相
 ### 3.2 FlushDiskType
 ​ SYNC_FLUSH(同步刷新)相比于ASYNC_FLUSH(异步处理)会损失很多性能,但是也更可靠,所以需要根据实际的业务场景做好权衡。
 ​ 
-​ 
-​ 
-​ 
-​ 
-​ 
+​### 3.3 Broker配置
+
+| 参数名                           | 默认值                        | 说明                                                         |
+| -------------------------------- | ----------------------------- | ------------------------------------------------------------ |
+| listenPort                    | 10911              | 接受客户端连接的监听端口 |
+| namesrvAddr       | null                         | nameServer 地址     |
+| brokerIP1 | 网卡的InetAddress                         | 当前broker监听的IP  |
+| brokerIP2 | 跟brokerIP1一样                         | 存在broker主从时,在broker主节点上配置了brokerIP2的话,broker从节点会连接主节点配置的brokerIP2来同步  |
 
 Review comment:
   It is suggested to use written language instead of oral language.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services