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

Change default replication factor config

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: In Progress
    • Priority: Blocker
    • Resolution: Unresolved
    • Affects Version/s: 2.3.0
    • Fix Version/s: 3.0.0
    • Component/s: streams
    • Labels:

      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.

      We piggy-back this change to the original KIP: https://cwiki.apache.org/confluence/display/KAFKA/KIP-464%3A+Defaults+for+AdminClient%23createTopic

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated: