master
33 root 2023/09/23 14:47:39 sudo docker pull zookeeper
34 root 2023/09/23 15:26:18 sudo docker pull wurstmeister/kafka
35 root 2023/09/23 16:09:33 sudo docker pull sheepkiller/kafka-manager
36 root 2023/09/23 16:26:00 sudo mkdir /data/kafka_cluster
37 root 2023/09/23 16:28:59 cd /data/kafka_cluster
38 root 2023/09/23 16:29:16 sudo mkdir -p zookeeper/config
39 root 2023/09/23 16:29:33 sudo mkdir -p zookeeper/data
40 root 2023/09/23 16:30:49 yum install tree -y
41 root 2023/09/23 16:33:10 tre
42 root 2023/09/23 16:33:13 tree
43 root 2023/09/23 16:33:39 sudo vim zookeeper/config/zoo.cfg
44 root 2023/09/23 16:47:10 sudo docker run –network host -v /data/kafka_cluster/zookeeper/data:/data -v /data/kafka_cluster/zookeeper/conf/zoo.cfg:/conf/zoo.cfg –name zookeeper-2 -itd zookeeper
45 root 2023/09/23 16:47:25 sudo mkdir -p kafka/log
46 root 2023/09/23 16:48:52 zookeepers_con=”119.29.17.67:2181,182.61.40.160:2181″
47 root 2023/09/23 16:49:56 sudo docker run -p 9092:9092 –name kafka-2 -itd -e KAFKA_BROKER_ID=2 -e KAFKA_ZOOKEEPER_CONNECT=${zookeepers_con} -e KAFKA_ADVERTISED_LISTENERS=PLAINTEXT://182.61.40.160:9092 -e KAFKA_LISTENERS=PLAINTEXT://0.0.0.0:9092 -v /data/kafka/log:/kafka wurstmeister/kafka
salve
33 root 2023/09/23 14:47:39 sudo docker pull zookeeper
34 root 2023/09/23 15:26:18 sudo docker pull wurstmeister/kafka
35 root 2023/09/23 16:09:33 sudo docker pull sheepkiller/kafka-manager
36 root 2023/09/23 16:26:00 sudo mkdir /data/kafka_cluster
37 root 2023/09/23 16:28:59 cd /data/kafka_cluster
38 root 2023/09/23 16:29:16 sudo mkdir -p zookeeper/config
39 root 2023/09/23 16:29:33 sudo mkdir -p zookeeper/data
40 root 2023/09/23 16:30:49 yum install tree -y
41 root 2023/09/23 16:33:10 tre
42 root 2023/09/23 16:33:13 tree
43 root 2023/09/23 16:33:39 sudo vim zookeeper/config/zoo.cfg
44 root 2023/09/23 16:47:10 sudo docker run –network host -v /data/kafka_cluster/zookeeper/data:/data -v /data/kafka_cluster/zookeeper/conf/zoo.cfg:/conf/zoo.cfg –name zookeeper-2 -itd zookeeper
45 root 2023/09/23 16:47:25 sudo mkdir -p kafka/log
46 root 2023/09/23 16:48:52 zookeepers_con=”119.29.17.67:2181,182.61.40.160:2181″
47 root 2023/09/23 16:49:56 sudo docker run -p 9092:9092 –name kafka-2 -itd -e KAFKA_BROKER_ID=2 -e KAFKA_ZOOKEEPER_CONNECT=${zookeepers_con} -e KAFKA_ADVERTISED_LISTENERS=PLAINTEXT://182.61.40.160:9092 -e KAFKA_LISTENERS=PLAINTEXT://0.0.0.0:9092 -v /data/kafka/log:/kafka wurstmeister/kafka
48 root 2023/09/23 18:45:50 history
49 root 2023/09/23 18:46:15 history