docker搭建kafka集群

https://www.jianshu.com/p/e9f7e1f7b85c

更加详细的安装

https://haofly.net/kafka/

某些情况下需要进docker创建topic

https://blog.csdn.net/yrc_Note/article/details/99704440

  • 创建
    kafka-topics.sh --create --topic topicname --replication-factor 1 --partitions 1 --zookeeper zookeeper:2181

  • 查看所有topic
    kafka-topics.sh --list --zookeeper zookeeper:2181

你可能感兴趣的:(kafka,Docker)