To run as typescript:
for producer:
yarn ts:prod
for consumer:
yarn ts:cons
To compile:
yarn compiile
To run compiled JS files:
for producer:
yarn js:produce
for consumer:
yarn js:consume
To start the kafka container: (you'll need kafka and docker already installed for this to work)
docker-compose -f dockercompose.yml up