This project provides an easy to get up and running with some of the major images used on my development process.
DOCKER_DIR := Directory where the docker-compose.yaml can be found.
Runs with zookeeper and one broker. Suits local development needs.
make docker
To create a producer, just run the following command:
make producer
To run a kafka consumer on command line, run the following command:
make consumer
When executing
make docker
you will be asked to provide a name to the a mongo database. User and password can be found in the init-mongo.js file, inside the docker directory.
mongodb://<username>:<password>@localhost:27017/<database_name>