Kafka broker to collect currency rates with nodejs
docker-compose up -d
See the kafdrop UI in localhost:9500
Install the packages
npm install
Run the api server
npm run start:dev
- Start cronjob to receive currency rates and push into kafka
curl -X POST http://localhost:3000/api/v1/job/start
- Stop cronjob
curl -X POST http://localhost:3000/api/v1/job/start