A queue service to manage order using Fastify framework
cd setup-kafka
docker-compose build #do this first time only
docker-compose up
# to find containers with name
docker ps --format '{{.Names}}'
docker exec -it setup-kafka-kafka-1 bin/bash #setup-kafka-kafka-1 is my kafka container name
# find kafka ip
docker inspect -f '{{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}' <container_id_or_name>
# to check if kafka working in machine
node setup-kafka/check_kafka.js
npm test
npm start