GitHub user sh-z opened a pull request:
https://github.com/apache/kafka/pull/3532
KAFKA-5596: TopicCommand methods(describe, alter, delete) fail to handle
topic name with "."
When there is one topic which name includes `.`, then we invoke `describe`,
`alter`, `delete` functions and set this topic name, those functions will not
only operate this topic, but also operate all other topics that have same name
regex pattern.
For example, there are two topics on Kafka cluster:
- test.a
- test_a
If you run command `--describe --topic test.a`, it will return both of
`test.a` and `test_a`. Other functions have the same effect.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/sh-z/kafka KAFKA-5596
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/kafka/pull/3532.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #3532
----
commit d0362f30bd7d0ba2bba48e63cba6170ea4a91ce5
Author: Shuai Zhang <[email protected]>
Date: 2017-07-15T16:32:35Z
escape '.' for topic name regex
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---