Public Repository

Last pushed: 2 years ago
Short Description
Short description is empty for this repo.
Full Description

Step 1: Pull image:
docker pull leokogi/zkafka

Step 2: Run images
docker run -d -it -p 2181:2181 -p 9092:9092 --name zkafka leokogi/zkafka

  • Image: leokogi/zkafka(necessary).
  • Expose 2 port: 2181, 9092(necessary).
  • Some option: -d -i -t support for good run(suggest).
    Notes: You can use 'docker run --help' to understand it.

Step 3: Access to container:
docker exec -it zkafka bash

Step 4: Create topic for kafka by using command:
$KAFKA_HOME/bin/ --create --zookeeper localhost:2181 --replication-factor 1 --partitions 1 --topic webtrackkogi

After that, you can establish with kafka and zookeeper.

Docker Pull Command