a simple project to test out kafka
docker compose up -d
run the consumer scripts and then the producers. The producer will send the data to kafka and the consumers will receive the data.
npm install
# run all these in different tabs:
npm run consumer
npm run consumer2
npm run producer