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

CreateTopic API should check topic existence before replication factor

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

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.1.2, 2.4.0, 2.3.1, 2.2.3
    • Component/s: None
    • Labels:
      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

            • Assignee:
              huxi_2b huxihx
              Reporter:
              hachikuji Jason Gustafson

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment