kafka 创建单分区topic

[root@master bin]# ./kafka-topics.sh  --create --bootstrap-server 127.0.0.1:9092 --replication-factor 1 --partitions 1 --topic topic_elink


./kafka-topics.sh  --delete --bootstrap-server 127.0.0.1:9092 --topic topic_elink


[root@master bin]# ./kafka-topics.sh  --create --bootstrap-server 127.0.0.1:9092 --replication-factor 1 --partitions 1 --topic topic_elink
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 topic_elink.
[root@master bin]# 

你可能感兴趣的:(kafka,kafka,分布式)