Skip to content

Commit 57d7bb9

Browse files
authored
[ISSUE #700] Fix typo. (#701)
1 parent 3a3df29 commit 57d7bb9

File tree

22 files changed

+127
-127
lines changed

22 files changed

+127
-127
lines changed

docs/03-consumer/02push.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ Tag在生产者章节已经介绍过,用于对某个Topic下的消息进行分
125125

126126
![Tag过滤](../picture/Tag过滤.png)
127127

128-
对于物流系统和支付系统来说,它们都只订阅单个Tag,此时只需要在调用subcribe接口时明确标明Tag即可
128+
对于物流系统和支付系统来说,它们都只订阅单个Tag,此时只需要在调用subscribe接口时明确标明Tag即可
129129

130130
```java
131131
consumer.subscribe("TagFilterTest", "TagA");

docs/04-deployment/02admintool.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -1316,7 +1316,7 @@
13161316
-i
13171317
</td>
13181318
<td className="xl67" width={87} style={{ width: "65pt" }}>
1319-
uniqe msg id
1319+
unique msg id
13201320
</td>
13211321
</tr>
13221322
<tr height={36} style={{ height: "27.0pt" }}>
@@ -2420,7 +2420,7 @@
24202420
-i
24212421
</td>
24222422
<td className="xl67" width={87} style={{ width: "65pt" }}>
2423-
uniqe msg id
2423+
unique msg id
24242424
</td>
24252425
</tr>
24262426
<tr height={36} style={{ height: "27.0pt" }}>
@@ -3896,7 +3896,7 @@
38963896
width: "65pt"
38973897
}}
38983898
>
3899-
consumerConnec tion
3899+
consumerConnection
39003900
</td>
39013901
<td
39023902
rowSpan={3}
@@ -3952,7 +3952,7 @@
39523952
width: "65pt"
39533953
}}
39543954
>
3955-
producerConnec tion
3955+
producerConnection
39563956
</td>
39573957
<td
39583958
rowSpan={4}

docs/05-bestPractice/01bestpractice.md

+16-16
Original file line numberDiff line numberDiff line change
@@ -213,20 +213,20 @@ msgId一定是全局唯一标识符,但是实际使用中,可能会存在相
213213
SYNC_FLUSH(同步刷新)相比于ASYNC_FLUSH(异步处理)会损失很多性能,但是也更可靠,所以需要根据实际的业务场景做好权衡。
214214
### Broker 配置
215215

216-
| 参数名 | 默认值 | 说明 |
217-
| -------------------------------- | ----------------------------- | ------------------------------------------------------------ |
218-
| listenPort | 10911 | 接受客户端连接的监听端口 |
219-
| namesrvAddr | null | nameServer 地址 |
220-
| brokerIP1 | 网卡的 InetAddress | 当前 broker 监听的 IP |
221-
| brokerIP2 | 跟 brokerIP1 一样 | 存在主从 broker 时,如果在 broker 主节点上配置了 brokerIP2 属性,broker 从节点会连接主节点配置的 brokerIP2 进行同步 |
222-
| brokerName | null | broker 的名称 |
223-
| brokerClusterName | DefaultCluster | 本 broker 所属的 Cluser 名称 |
224-
| brokerId | 0 | broker id, 0 表示 master, 其他的正整数表示 slave |
225-
| storePathCommitLog | $HOME/store/commitlog/ | 存储 commit log 的路径 |
226-
| storePathConsumerQueue | $HOME/store/consumequeue/ | 存储 consume queue 的路径 |
227-
| mapedFileSizeCommitLog | 1024 * 1024 * 1024(1G) | commit log 的映射文件大小 |​
228-
| deleteWhen | 04 | 在每天的什么时间删除已经超过文件保留时间的 commit log |​
229-
| fileReservedTime | 72 | 以小时计算的文件保留时间 |​
230-
| brokerRole | ASYNC_MASTER | SYNC_MASTER/ASYNC_MASTER/SLAVE |​
231-
| flushDiskType | ASYNC_FLUSH | SYNC_FLUSH/ASYNC_FLUSH SYNC_FLUSH 模式下的 broker 保证在收到确认生产者之前将消息刷盘。ASYNC_FLUSH 模式下的 broker 则利用刷盘一组消息的模式,可以取得更好的性能。 |​
216+
| 参数名 | 默认值 | 说明 |
217+
| -------------------------------- | ----------------------------- |-----------------------------------------------------------------------------------------------------------------|
218+
| listenPort | 10911 | 接受客户端连接的监听端口 |
219+
| namesrvAddr | null | nameServer 地址 |
220+
| brokerIP1 | 网卡的 InetAddress | 当前 broker 监听的 IP |
221+
| brokerIP2 | 跟 brokerIP1 一样 | 存在主从 broker 时,如果在 broker 主节点上配置了 brokerIP2 属性,broker 从节点会连接主节点配置的 brokerIP2 进行同步 |
222+
| brokerName | null | broker 的名称 |
223+
| brokerClusterName | DefaultCluster | 本 broker 所属的 Cluster 名称 |
224+
| brokerId | 0 | broker id, 0 表示 master, 其他的正整数表示 slave |
225+
| storePathCommitLog | $HOME/store/commitlog/ | 存储 commit log 的路径 |
226+
| storePathConsumerQueue | $HOME/store/consumequeue/ | 存储 consume queue 的路径 |
227+
| mappedFileSizeCommitLog | 1024 * 1024 * 1024(1G) | commit log 的映射文件大小 |​
228+
| deleteWhen | 04 | 在每天的什么时间删除已经超过文件保留时间的 commit log |​
229+
| fileReservedTime | 72 | 以小时计算的文件保留时间 |​
230+
| brokerRole | ASYNC_MASTER | SYNC_MASTER/ASYNC_MASTER/SLAVE |​
231+
| flushDiskType | ASYNC_FLUSH | SYNC_FLUSH/ASYNC_FLUSH SYNC_FLUSH 模式下的 broker 保证在收到确认生产者之前将消息刷盘。ASYNC_FLUSH 模式下的 broker 则利用刷盘一组消息的模式,可以取得更好的性能。 |​
232232

docs/05-bestPractice/02dledger.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ $ nohup sh bin/mqbroker -c conf/dledger/xxx-n2.conf &
120120
#### 2.2 检查旧的 Commitlog
121121

122122
RocketMQ-on-DLedger 组中的每个节点,可以兼容旧的 Commitlog ,但其 Raft 复制过程,只能针对新增加的消息。因此,为了避免出现异常,需要保证 旧的 Commitlog 是一致的。
123-
如果旧的集群是采用 Master-Slave 方式部署,有可能在shutdown时,其数据并不是一致的,建议通过md5sum 的方式,检查最近的最少 2 个 Commmitlog 文件,如果发现不一致,则通过拷贝的方式进行对齐。
123+
如果旧的集群是采用 Master-Slave 方式部署,有可能在shutdown时,其数据并不是一致的,建议通过md5sum 的方式,检查最近的最少 2 个 Commitlog 文件,如果发现不一致,则通过拷贝的方式进行对齐。
124124

125125
虽然 RocketMQ-on-DLedger Group 也可以以 2 节点方式部署,但其会丧失容灾切换能力(2n + 1 原则,至少需要3个节点才能容忍其中 1 个宕机)。
126126
所以在对齐了 Master 和 Slave 的 Commitlog 之后,还需要准备第 3 台机器,并把旧的 Commitlog 从 Master 拷贝到 第 3 台机器(记得同时拷贝一下 config 文件夹)。

docs/05-bestPractice/06log.md

+7-7
Original file line numberDiff line numberDiff line change
@@ -108,14 +108,14 @@ clean dependency:tree | grep log```命令排查。
108108

109109
RocketMQ 客户端支持自定义日志保存路径、日志级别以及保存历史日志文件的最大个数。考虑到日志传输以及阅读的便利性,暂不允许自定义单个日志文件大小,仍保持默认的64 MB。各参数的配置说明如下:
110110

111-
| 参数 | 说明 | 配置参数 | 自定义取值 |
112-
| ----------------------------- | ------------------------------------------------------------ | ------------------------------- | ------------------------------------------------------------ |
111+
| 参数 | 说明 | 配置参数 | 自定义取值 |
112+
| ----------------------------- | ------------------------------------------------------------ | ------------------------------- |--------------------------------------------------|
113113
| 日志保存路径 | 请确保应用进程有对该路径写的权限,否则日志 不会打印。 | rocketmq.client.logRoot | 可自定义为您需要将日志文件保存到本地的路径。请确保您的应用进程有该路径的写权限,否则日志无法打印。 |
114-
| 保存历史日志文件的最大个数 | 支持1到100之前的数值;若输入的值超出该范围 或格式错误,则系统默认保存10个。 | rocketmq.client.logFileMaxIndex | 取值范围:1~100。若设置的值超出该范围或格式错误,则以系统默认值(10个)为准。 |
115-
| 日志级别 | 支持ERROR、WARN、INFO、DEBUG中任何一 种,不匹配默认INFO。 | rocketmq.client.logLevel | 取值如下:**ERROR****WARN****INFO****DEBUG** |
116-
| 单个文件日志大小 | 支持以bytes为单位指定 | rocketmq.client.logFileMaxSize | 取值在0~1GB, 默认1GB, 建议64 MB |
117-
| logback是否使用父级logger打印 | children-logger是否使用 rootLogger配置的appender进行输出 | rocketmq.client.log.additive | true/false |
118-
| 使用项目的slf4j实现记录日志 | 如果需要实现记录日志 则为true | rocketmq.client.logUseSlf4j | true/flase |
114+
| 保存历史日志文件的最大个数 | 支持1到100之前的数值;若输入的值超出该范围 或格式错误,则系统默认保存10个。 | rocketmq.client.logFileMaxIndex | 取值范围:1~100。若设置的值超出该范围或格式错误,则以系统默认值(10个)为准。 |
115+
| 日志级别 | 支持ERROR、WARN、INFO、DEBUG中任何一 种,不匹配默认INFO。 | rocketmq.client.logLevel | 取值如下:**ERROR****WARN****INFO****DEBUG** |
116+
| 单个文件日志大小 | 支持以bytes为单位指定 | rocketmq.client.logFileMaxSize | 取值在0~1GB, 默认1GB, 建议64 MB |
117+
| logback是否使用父级logger打印 | children-logger是否使用 rootLogger配置的appender进行输出 | rocketmq.client.log.additive | true/false |
118+
| 使用项目的slf4j实现记录日志 | 如果需要实现记录日志 则为true | rocketmq.client.logUseSlf4j | true/false |
119119

120120
## 默认配置
121121

docs/11-contributionGuide/01how-to-contribute.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ Apache RocketMQ 官网代表着 Apache RocketMQ 和 Apache RocketMQ 社区。其
133133

134134
Committers 是社区中修改项目仓库的成员,可修改代码,文档和网站或接纳其他成员的贡献。
135135

136-
成为 commiter 并没有严格的协议,候选人通常是社区中活跃的贡献者。
136+
成为 committer 并没有严格的协议,候选人通常是社区中活跃的贡献者。
137137

138138
活跃的贡献者意味着:参加邮箱列表中的讨论,帮助他人解决问题,验证预发布版本,礼贤下士并持续优化社区管理,这部分关乎社区在 Apache 中的发展。
139139

i18n/en/docusaurus-plugin-content-docs/current/03-consumer/02push.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ The filtering schematic is shown below
125125

126126
![Tag过滤](../picture/Tag过滤.png)
127127

128-
For logistics systems and payment systems, they both subscribe to a single Tag, at which point it is sufficient to mark the Tag when calling the subcribe interface.
128+
For logistics systems and payment systems, they both subscribe to a single Tag, at which point it is sufficient to mark the Tag when calling the subscribe interface.
129129

130130
```java
131131
consumer.subscribe("TagFilterTest", "TagA");

i18n/en/docusaurus-plugin-content-docs/current/04-deployment/02admintool.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -1316,7 +1316,7 @@ Query based on msgId. msgId is different from offsetMsgId, for more information
13161316
-i
13171317
</td>
13181318
<td className="xl67" width={87} style={{ width: "65pt" }}>
1319-
uniqe msg id
1319+
unique msg id
13201320
</td>
13211321
</tr>
13221322
<tr height={36} style={{ height: "27.0pt" }}>
@@ -2420,7 +2420,7 @@ Reset offset based on timestamp, both Broker and consumer will be reset.
24202420
-i
24212421
</td>
24222422
<td className="xl67" width={87} style={{ width: "65pt" }}>
2423-
uniqe msg id
2423+
unique msg id
24242424
</td>
24252425
</tr>
24262426
<tr height={36} style={{ height: "27.0pt" }}>
@@ -3746,7 +3746,7 @@ Consumer group consumption status, including specific client IP's message accumu
37463746
-g
37473747
</td>
37483748
<td className="xl68" width={87} style={{ width: "65pt" }}>
3749-
Counsumer group name
3749+
Consumer group name
37503750
</td>
37513751
</tr>
37523752
<tr height={57} style={{ height: "43.0pt" }}>
@@ -3894,7 +3894,7 @@ Consumer group consumption status, including specific client IP's message accumu
38943894
width: "65pt"
38953895
}}
38963896
>
3897-
consumerConnec tion
3897+
consumerConnection
38983898
</td>
38993899
<td
39003900
rowSpan={3}
@@ -3950,7 +3950,7 @@ Consumer group consumption status, including specific client IP's message accumu
39503950
width: "65pt"
39513951
}}
39523952
>
3953-
producerConnec tion
3953+
producerConnection
39543954
</td>
39553955
<td
39563956
rowSpan={4}

0 commit comments

Comments
 (0)