GitHub user sh-z opened a pull request:
https://github.com/apache/kafka/pull/3533
KAFKA-5596: TopicCommand methods fail to handle topic name with "."
When there is one topic which name includes `.`, then we invoke `list`,
`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/3533.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 #3533
----
commit 339a6df77c5ddff5bf84923950ce42500392c6ca
Author: Shuai Zhang <[email protected]>
Date: 2017-07-15T17:36:23Z
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.
---