You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Jay Kreps (JIRA)" <ji...@apache.org> on 2015/01/08 03:45:36 UTC

[jira] [Created] (KAFKA-1846) Offset storage topic should not default to replication factor 1

Jay Kreps created KAFKA-1846:
--------------------------------

             Summary: Offset storage topic should not default to replication factor 1
                 Key: KAFKA-1846
                 URL: https://issues.apache.org/jira/browse/KAFKA-1846
             Project: Kafka
          Issue Type: Improvement
    Affects Versions: 0.8.2
            Reporter: Jay Kreps
             Fix For: 0.8.3


Currently the offset storage topic defaults to replication factor 1 (offsets.topic.replication.factor). Presumably this is because we want to make the single-node case work well "out of the box". But this is one of those obscure settings most people won't really know about so most people won't realize they are running this without replication. It would be better to change the default in KafkaConfig to -1 and have this set the replication factor dynamically when that topic is created to be the min(3,total_nodes), if on the other hand the user sets some value here we would use that.

In the absence of this I think many people will not realize what is happening until suddenly a broker dies and they can't commit offsets.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)