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

CreateTopic API should check topic existence before replication factor

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.1.2, 2.4.0, 2.3.1, 2.2.3
    • None
    • None

    Description

      If you try to create a topic and the replication factor cannot be satisfied, Kafka will return `INVALID_REPLICATION_FACTOR`. If the topic already exists, we should probably return `TOPIC_ALREADY_EXISTS` instead. You won't see this problem if using TopicCommand because we check existence prior to creating the topic.

      Attachments

        Issue Links

          Activity

            People

              huxi_2b huxihx
              hachikuji Jason Gustafson
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: