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

AdminClient should support creating topics with default partitions and replication factor

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.4.0
    • admin

    Description

      Today, the AdminClient creates topics by requiring a `NewTopic` object, which must contain either partitions and replicas or an exact broker mapping (which then infers partitions and replicas). Some users, however, could benefit from just using the cluster default for replication factor but may not want to use auto topic creation.

      NOTE: I am planning on working on this, but I do not have permissions to assign this ticket to myself.

      KIP: https://cwiki.apache.org/confluence/display/KAFKA/KIP-464%3A+Defaults+for+AdminClient%23createTopic

      Attachments

        Issue Links

          Activity

            People

              agavra Almog Gavra
              agavra Almog Gavra
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: