I am using kafka-node npm for sending message to Kafka topics. When I call producer.on('ready', function(){}), at that time Kafka server and zookeeper are not running. So what happened, ready event did not get fired.
Is there any way to know that Kafka server is not running before doing anything?
via Naisarg Patel
No comments:
Post a Comment