zookeeper docker安装

Last updated on July 19, 2024 pm

🧙 Questions

☄️ Ideas

docker run -d \
    --name zookeeper \
    -p 2181:2181 \
    -v /etc/localtime:/etc/localtime \
    -e ALLOW_ANONYMOUS_LOGIN=yes \
    bitnami/zookeeper

docker run -d \
    --name kafka \
    -p 9092:9092 \
    -e KAFKA_BROKER_ID=0 \
    -e KAFKA_ZOOKEEPER_CONNECT=172.16.215.84:2181 \
    -e KAFKA_ADVERTISED_LISTENERS=PLAINTEXT://172.16.215.84:9092 \
    -e KAFKA_LISTENERS=PLAINTEXT://0.0.0.0:9092 \
    bitnami/kafka:latest

zookeeper docker安装
https://ispong.isxcode.com/hadoop/zookeeper/zookeeper docker安装/
Author
ispong
Posted on
April 17, 2024
Licensed under