I am getting client is not a constructor for kafka node

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

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.

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

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.

I have also tried rdkafka node(GitHub - Blizzard/node-rdkafka: Node.js bindings for librdkafka).
I am getting publisher queue full exception.

node-rdkafka is not a node-red node.

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

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.

Including the issue you are seeing I believe.

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

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