2016-07-11 16 views

答えて

1

sourceを見ると、ASCII英数字のように見えますが、.,_および-はトピック名に有効な文字です。

0

これは役に立ちます。

コマンド:

[[email protected] ~]$ kafka-topics --zookeeper node1:2181 --create --topic time#test --partitions 1 --replication-factor 1 

エラー:

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$) 

あなたはおそらく間違ったトピック名を指定して--createコマンドを実行

は、カフカのコマンドラインは有効なトピック名の要件とエラーがスローされます
関連する問題