Error while executing topic command : topic name time#test is illegal,
contains a character other than ASCII alphanumerics, '.', '_' and '-'
[2016-07-13 23:31:02,513] ERROR org.apache.kafka.common.errors.InvalidTopicException:
topic name time#test is illegal,
contains a character other than ASCII alphanumerics, '.', '_' and '-'
(kafka.admin.TopicCommand$)
2条答案
按热度按时间6gpjuf901#
从源代码看,它看起来像ascii字母数字,
.
,_
以及-
是主题名称中的有效字符。z18hc3ub2#
这可能有用。
当你执行
--create
命令的主题名可能错误,kafka命令行会抛出错误,其中包含有效的主题名要求,如下所示:命令:
错误: