From 45fa051f80129022834224bc460384e135708dcf Mon Sep 17 00:00:00 2001 From: heibaiying <31504331+heibaiying@users.noreply.github.com> Date: Wed, 29 May 2019 15:45:35 +0800 Subject: [PATCH] =?UTF-8?q?Update=20Kafka=E6=B7=B1=E5=85=A5=E7=90=86?= =?UTF-8?q?=E8=A7=A3=E5=88=86=E5=8C=BA=E5=89=AF=E6=9C=AC=E6=9C=BA=E5=88=B6?= =?UTF-8?q?.md?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- notes/Kafka深入理解分区副本机制.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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/)