cd kafka_2.11-0.11.0.1

bin/zookeeper-server-start.sh config/zookeeper.properties
bin/kafka-server-start.sh config/server.properties


bin/kafka-topics.sh --create --zookeeper localhost:2181 --replication-factor 1 --partitions 1 --topic secKill2

多个分区
bin/kafka-topics.sh --create --zookeeper localhost:2181 --replication-factor 1 --partitions 2 --topic secKill3

相关文章:

  • 2021-11-30
  • 2021-09-05
  • 2021-07-07
  • 2022-01-17
  • 2022-02-12
  • 2021-09-07
  • 2022-12-23
  • 2021-07-02
猜你喜欢
  • 2021-06-13
  • 2022-12-23
  • 2022-12-23
  • 2021-09-25
相关资源
相似解决方案