Skip to content

docker compose file and the script file to start a Kafka cluster with docker

Notifications You must be signed in to change notification settings

woohan/kafka_start_up

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

kafka_start_up

This repository includes docker compose file and the script file to start a Kafka cluster with docker

  1. Install docker
  2. Pull the docker image from docker hub, which contains zookeeper and kafka files
docker pull woohanx/kfk_node:v4
  1. Run the upKafka.sh script to start your kafka cluster with as many nodes as you need
./upKafka.sh NUM_OF_NODES

Example

./upKafka.sh 3

You should see:

Creating kfk_node_1 ... done
Creating kfk_node_2 ... done
Creating kfk_node_3 ... done

The kafka cluster with 3 nodes is started up

About

docker compose file and the script file to start a Kafka cluster with docker

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages