Sign inSign up

chaiyd/kafka

By chaiyd

•Updated about 5 years ago

Apache Kafka

Image
0

994

chaiyd/kafka repository overview

⁠kafka

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.

⁠简述

  • https://github.com/chaiyd/docker.git⁠
  • 此镜像中仅包含kafka,不含zookeeper
  • 增加部分环境变量
    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"
    

⁠kafka官方文档

Tag summary

Content type

Image

Digest

Size

192.9 MB

Last updated

about 5 years ago

docker pull chaiyd/kafka