Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-1846

Offset storage topic should not default to replication factor 1

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • 0.8.2.0
    • None
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              jkreps Jay Kreps
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: