docker运行kafka

dockerfile

https://github.com/ches/docker-kafka

run

docker run -p 2181:2181 -p 2888:2888 -p 3888:3888 -d –name zookeeper jplock/zookeeper 
docker run -d –name kafka –link zookeeper:zookeeper ches/kafka
    原文作者:codecraft
    原文地址: https://segmentfault.com/a/1190000005905861
    本文转自网络文章,转载此文章仅为分享知识,如有侵权,请联系博主进行删除。
点赞