kafka-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shangan Chen <chenshangan...@gmail.com>
Subject Adding replicas to existing topic cause data loss in some partitions
Date Fri, 07 Nov 2014 07:56:24 GMT
I have a kafka cluster, every topic in it has only one replica. Recently I
extend every topic with 2 replicas. Most topics work fine, but some large
topics have some problems with part of partitions. Consumer throw offset
OutOfRange exception, the fact is consumer request offset is bigger than
the latest offset. I doubt there is some bug with the tool which can add
replicas to existing topic.

I add replicas by the following  guide:
http://kafka.apache.org/081/documentation.html#basic_ops_increase_replication_factor


Does anyone  face the same problem before and can figure out how to avoid
this ?

-- 
have a good day!
chenshang'an

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message