Update Kafka深入理解分区副本机制.md
This commit is contained in:
parent
aeb77a7b92
commit
45fa051f80
@ -132,7 +132,8 @@ public long transferFrom(FileChannel fileChannel, long position, long count) thr
|
|||||||
基于以上原因,如果你在一个单节点上创建一个3副本的主题,通常会抛出下面的异常:
|
基于以上原因,如果你在一个单节点上创建一个3副本的主题,通常会抛出下面的异常:
|
||||||
|
|
||||||
```properties
|
```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 分区数据保留规则
|
### 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
|
1. Neha Narkhede, Gwen Shapira ,Todd Palino(著) , 薛命灯(译) . Kafka权威指南 . 人民邮电出版社 . 2017-12-26
|
||||||
|
|
||||||
2. [Kafka高性能架构之道](http://www.jasongj.com/kafka/high_throughput/)
|
2. [Kafka高性能架构之道](http://www.jasongj.com/kafka/high_throughput/)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user