Public Repository

Last pushed: a year ago
Short Description
Apache Kafka Docker Image based on CentOS 7
Full Description

You should pass kafka config parameters as environment variables, see the example docker compose file below. Check https://github.com/maaydin/kafka-docker out for details.

version: '2'
services:
  kafka:
    image: "maaydin/centos-7-kafka"
    environment:
      - numNetworkThreads=3
      - numIOThreads=8
      - socketSendBufferBytes=102400
      - socketReceiveBufferBytes=102400
      - socketRequestMaxBytes=104857600
      - logDirs=/tmp/kafka-logs
      - numPartitions=1
      - numRecoveryThreadsPerDataDir=1
      - logRetentionHours=168
      - logSegmentBytes=1073741824
      - logRetentionCheckIntervalMs=300000
      - zookeeperConnect=172.21.0.22:2181,172.21.0.23:2181,172.21.0.24:2181
      - zookeeperConnectionTimeoutMs=10000
Docker Pull Command
Owner
maaydin

Comments (0)