This Node.JS Application is part of the Inventory Service for the IBM Cloud Native Toolkit Journey. This application allows users to produce a message to a kafka topic notifying all consumers that an update to an item in inventory has occured.
Install the application dependencies by running the following:
npm install
Make sure you have an instance of kafka running either locally or remotely.
Following the instruction here for running kafka locally.
Modify the Kafka Configuration Code to match your Kafka configuration in order for your application to properly communicate with your Kafka instance.
To start the server run:
npm run dev
Access the swagger page via http:localhost:3000
Deploying to Openshift...
- Bryan Kribbs (bakribbs@us.ibm.com)