标签:tor host producer enable 常用指令 生产 bootstra create ==
./bin/kafka-consumer-groups.sh --bootstrap-server localhost:9092 --describe --group test-consumer-group
./bin/kafka-topics.sh --topic mytopic --describe --bootstrap-server localhost:9092
bin/kafka-topics.sh --zookeeper localhost:2181 --create --topic mytopic --partitions 10 --replication-factor 3
bin/kafka-topics.sh --zookeeper localhost:2181 --desc --topic mytopic
bin/kafka-topics.sh --zookeeper localhost:2181 --alter --topic mytopic --partitions 10
server.properties ==> delete.topic.enable=true
bin/kafka-topics.sh --zookeeper localhost:2181 --delete --topic mytopic
bin/kafka-console-producer.sh --broker-list localhost:9092 --topic mytopic
bin/kafka-console-consumer.sh --zookeeper localhost:2181 --topic mytopic
标签:tor host producer enable 常用指令 生产 bootstra create ==
原文地址:https://www.cnblogs.com/cuiyuanhao/p/13410418.html