最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

javascript - Kafka Consumer in Node.js - Stack Overflow

programmeradmin2浏览0评论

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
Add a ment  | 

2 Answers 2

Reset to default 3

Here'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/

发布评论

评论列表(0)

  1. 暂无评论