You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Vahid Hashemian (JIRA)" <ji...@apache.org> on 2018/07/10 23:54:00 UTC

[jira] [Updated] (KAFKA-7037) delete topic command replaces '+' from the topic name which leads incorrect topic deletion

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

Vahid Hashemian updated KAFKA-7037:
-----------------------------------
    Fix Version/s: 2.1.0

> delete topic command replaces '+' from the topic name which leads incorrect topic deletion
> ------------------------------------------------------------------------------------------
>
>                 Key: KAFKA-7037
>                 URL: https://issues.apache.org/jira/browse/KAFKA-7037
>             Project: Kafka
>          Issue Type: Bug
>    Affects Versions: 0.10.1.0, 1.0.0
>            Reporter: Sandeep Nemuri
>            Assignee: Vahid Hashemian
>            Priority: Major
>             Fix For: 2.1.0
>
>
> While executing a delete command kafka cli tool is removing the "+" symbol and deleting the incorrect topic. In below case if  _"*test+topic"*_ is deleted kafka deletes  _*testtopic.*_
> {code:java}
> [kafka@localhost~]$ /usr/hdp/current/kafka-broker/bin/kafka-topics.sh --create --zookeeper `hostname`:2181 --replication-factor 1 --partitions 1 --topic testtopic
> Created topic "testtopic".
> [kafka@localhost~]$ /usr/hdp/current/kafka-broker/bin/kafka-topics.sh --zookeeper `hostname`:2181 --topic test+topic --delete
> Topic testtopic is marked for deletion.{code}
>  delete topic replaces '+' from the topic name  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)