Due to limitations in metric names, topics with a period ('.') or underscore ('_') could collide.

kafka-topics.sh --zookeeper 130.51.23.249:5101 --create --topic USER_VISIT_TRACE --replication-factor 2 --partitions 2
WARNING: Due to limitations in metric names, topics with a period ('.') or underscore ('_') could collide. To avoid issues it is best to use either, but not both.
Created topic "USER_VISIT_TRACE".

解決: 不用下劃線。ide

kafka-topics.sh --zookeeper 130.51.23.249:5101 --create --topic UserVisitTrace --replication-factor 1 --partitions 2
相關文章
相關標籤/搜索