赞
踩
docker pull zookeeper
docker pull wurstmeister/kafka
docker pull vimagick/cmak
#zookeeper
docker run -d -p 2181:2181 --name=zookeeper --restart always zookeeper
#kafka
docker run -d --name kafka -p 9092:9092 -e KAFKA_BROKER_ID=0 -e KAFKA_ZOOKEEPER_CONNECT=172.19.228.132:2181 -e KAFKA_JMX_PORT=9098 -e KAFKA_ADVERTISED_LISTENERS=PLAINTEXT://172.19.228.132:9092 -e KAFKA_LISTENERS=PLAINTEXT://0.0.0.0:9092 -t wurstmeister/kafka
#cmak
docker run -p 9000:9000 -e ZK_HOSTS="172.19.2
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。