diff --git a/notes/Kafka深入理解分区副本机制.md b/notes/Kafka深入理解分区副本机制.md index 13314e0..b75798e 100644 --- a/notes/Kafka深入理解分区副本机制.md +++ b/notes/Kafka深入理解分区副本机制.md @@ -132,7 +132,8 @@ public long transferFrom(FileChannel fileChannel, long position, long count) thr 基于以上原因,如果你在一个单节点上创建一个3副本的主题,通常会抛出下面的异常: ```properties -Error while executing topic command : org.apache.kafka.common.errors.InvalidReplicationFactor Exception: Replication factor: 3 larger than available brokers: 1. +Error while executing topic command : org.apache.kafka.common.errors.InvalidReplicationFactor +Exception: Replication factor: 3 larger than available brokers: 1. ``` ### 4.2 分区数据保留规则 @@ -158,4 +159,4 @@ Error while executing topic command : org.apache.kafka.common.errors.InvalidRepl 1. Neha Narkhede, Gwen Shapira ,Todd Palino(著) , 薛命灯(译) . Kafka权威指南 . 人民邮电出版社 . 2017-12-26 -2. [Kafka高性能架构之道](http://www.jasongj.com/kafka/high_throughput/) \ No newline at end of file +2. [Kafka高性能架构之道](http://www.jasongj.com/kafka/high_throughput/)