Currently i'm implementing the Kafka Queue with Node.js. I can able to create the simple API in Express and push the data into Kafka(producer).
I'm currently struck with the fetching the data from Kafka and I'm using the Kafka-node library for node.js.
I need to expose the consumer as API or backend service.
So anyone please help me out.
Currently i'm implementing the Kafka Queue with Node.js. I can able to create the simple API in Express and push the data into Kafka(producer).
I'm currently struck with the fetching the data from Kafka and I'm using the Kafka-node library for node.js.
I need to expose the consumer as API or backend service.
So anyone please help me out.
Share Improve this question asked Oct 24, 2017 at 6:41 venkatvenkat 5133 gold badges10 silver badges16 bronze badges 1- First of all your question is not clear. Then please share some code so we can understand what you are trying to do. – Mustafa Mamun Commented Oct 24, 2017 at 8:40
2 Answers
Reset to default 3Here's an example of a consumer using kafka-node
: https://blog.mima./blog/2017/04/07/apache-kafka-with-node-js/
try this one "Getting started with NodeJS and Kafka " - https://nodewebapps./2017/11/04/getting-started-with-nodejs-and-kafka/