2016-07-11 4 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 명령을 실행

는 카프카의 커맨드는 유효한 주제 이름 요구 사항 오류가 발생합니다
관련 문제