I am getting client is not a constructor for kafka node

#1

I am using kafka node in node-red but it is giving client is not a constructor. The configuration parameters are correct.

0 Likes

#2

There are 10 results if I perform a search on kafka on flows.nodered.org. It is always advisable to list the precise node that you installed.

If you are sure your details are correct you should open an issue on the node you are using github page as the chances are that the author of the node doesn't read this forum.

0 Likes

#3

I am using node-red-contrib-kafka-node (https://www.npmjs.com/package/node-red-contrib-kafka-node)

0 Likes

#4

FYI - that node hasn't been maintained in almost 3 years and I would venture to guess it has been abandoned. You might want to (A) search for another node (B) ask the author if you can take over the node or (C) clone the repository and fix any errors it has.

0 Likes

#5

I have also tried rdkafka node(https://github.com/Blizzard/node-rdkafka).
I am getting publisher queue full exception.

0 Likes

#6

node-rdkafka is not a node-red node.

0 Likes

#7

sorry wrong link, this one node-red-contrib-rdkafka (https://www.npmjs.com/package/node-red-contrib-rdkafka)

0 Likes

#8

If you go to the github page for that node you will see a number of issues - with no responses -and it hasn't been updated in over a year.

0 Likes

#9

Including the issue you are seeing I believe.

0 Likes

#10

I have already raised the iisue in github. Is there any other node available for kafka message publishing.

0 Likes

#11

I have no idea. If your searches haven't come up with anything, then probably not. You could code one yourself.

0 Likes