A minimal configuration for a dockerized kafka project

A minimal configuration for a dockerized kafka project.
Usage:
- Run this command to build
kafka
andzookeeper
containers, and create the networkkafka-network
, where your containers can access the endpointkafka:29092
.
# creates the network `kafka-network` and build and
# runs the containers for zookeeper and kafka
docker-compose -f "docker-compose.kafka.yml" up -d --build # remove -d if you want to see logs in the same shell
- You can then run as many broker/consumer