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

Change default replication factor config

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • 2.3.0
    • 3.0.0
    • streams

    Description

      With KAFKA-8305, AdminClient allows to create topics based on the broker default replication factor.

      Kafka Streams sets `replication.factor` to 1 by default atm, to give a good out-of-the-box user experience. The problem is, that people may need to change the config if they push an application to production.

      We should change the default to `-1` to exploit the new AdminClient feature. This won't impact the out-of-the-box experience and may avoids the need to change the setting when pushing an application to production.

      KIP-733: https://cwiki.apache.org/confluence/display/KAFKA/KIP-733%3A+change+Kafka+Streams+default+replication+factor+config

      Attachments

        Issue Links

          Activity

            People

              mjsax Matthias J. Sax
              mjsax Matthias J. Sax
              Votes:
              1 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: