I also had the same issue in recent past with confluent_kafka 0.9.2 (0x90200) and librdkafka 0.9.2 (0x90401). In my case, the issue was that I specified the wrong broker port number as follows:
$ kafka-console-producer.sh --broker-list localhost:9092 --topic tutorialpoint-basic-ops-01
And my brokers port number was 9094 as follows:
$ cat server-02.properties
But the 9092 port was not open (netstat -tunap), it took 60s for kafka-console-producer.sh to raise an error. Looks like this tool needs a fix to:
· fail faster
· with a more explicit error message.
If by any chance you are running hortonworks cluster then you must check the listening port in ambari.
In my case the 9092 was not my port at all. When I went to ambari and checked there I found the listening port was set to 6667 I changed it and it worked for me. :)