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

AdminClient should support creating topics with default partitions and replication factor

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.4.0
    • Component/s: admin
    • Labels:

      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

          Activity

            People

            • Assignee:
              agavra Almog Gavra
              Reporter:
              agavra Almog Gavra

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment