kafka-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jason Gustafson (Jira)" <j...@apache.org>
Subject [jira] [Resolved] (KAFKA-8875) CreateTopic API should check topic existence before replication factor
Date Wed, 11 Sep 2019 21:25:00 GMT

     [ https://issues.apache.org/jira/browse/KAFKA-8875?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jason Gustafson resolved KAFKA-8875.
------------------------------------
    Fix Version/s: 2.4.0
       Resolution: Fixed

> CreateTopic API should check topic existence before replication factor
> ----------------------------------------------------------------------
>
>                 Key: KAFKA-8875
>                 URL: https://issues.apache.org/jira/browse/KAFKA-8875
>             Project: Kafka
>          Issue Type: Bug
>            Reporter: Jason Gustafson
>            Assignee: huxihx
>            Priority: Major
>             Fix For: 2.4.0
>
>
> 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.



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

Mime
View raw message