标签:ica start star plain nec nbsp ble doc 配置
docker run --name kafka \
--restart=always \
--net=host \
--volume /data/kafka:/data \
--volume /data/kafka_server_jaas.conf:/opt/kafka/config/kafka_server_jaas.conf \
-e KAFKA_BROKER_ID=1 \
-e KAFKA_LISTENERS=PLAINTEXT://kafka-1:9092 \
-e KAFKA_LOG_DIRS=/data/kafka \
-e KAFKA_ZOOKEEPER_CONNECT="127.0.0.1:2181" \
-e KAFKA_NUM_PARTITIONS=10 \
-e KAFKA_DEFAULT_REPLICATION_FACTOR=1 \
-e KAFKA_LOG_RETENTION_HOURS=4 \
-e KAFKA_LOG_RETENTION_BYTES=2073741824 \
-e KAFKA_SASL_MECHANISM_INTER_BROKER_PROTOCOL=PLAINTEXT \
-e KAFKA_SASL_ENABLED_MECHANISMS=PLAINTEXT \
-d wurstmeister/kafka:2.12-2.1.1
标签:ica start star plain nec nbsp ble doc 配置
原文地址:https://www.cnblogs.com/beilong/p/12232531.html