Apache Kafka is an open-source distributed event streaming platform used by thousands of companies for high-performance data pipelines, streaming analytics, data integration, and mission-critical applications.
BROKER_ID=0
#请务必传入zookeeper地址,否则会无法启动
ZOOKEEPER_CONNECT=localhost:2181
ZOOKEEPER_SYNC_TIME=2000
NUM_PARTITIONS=1
---
# 默认启动使用HOSTNAME为空值,如想外部访问,可增加环境变量HOSTNAME的值为公网ip即可
LISTENERS="listeners=PLAINTEXT://:9092"
ADVERTISED_LISTENERS="advertised.listeners=PLAINTEXT://$HOSTNAME"
Content type
Image
Digest
Size
192.9 MB
Last updated
about 5 years ago
docker pull chaiyd/kafka