[
https://issues.apache.org/jira/browse/KAFKA-7037?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16508735#comment-16508735
]
ASF GitHub Bot commented on KAFKA-7037:
---------------------------------------
vahidhashemian opened a new pull request #5193: KAFKA-7037: Escape regex symbol
in topic name for topic operations
URL: https://github.com/apache/kafka/pull/5193
### Committer Checklist (excluded from commit message)
- [ ] Verify design and implementation
- [ ] Verify test coverage and CI build status
- [ ] Verify documentation (including upgrade notes)
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
> 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
>
> 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)