Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Kafka Consumer in Node.js

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.

like image 240
venkat Avatar asked Oct 15 '25 03:10

venkat


1 Answers

Here's an example of a consumer using kafka-node: https://blog.mimacom.com/blog/2017/04/07/apache-kafka-with-node-js/

like image 166
Robin Moffatt Avatar answered Oct 17 '25 17:10

Robin Moffatt



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!