on-internet
← Community

Failed to construct kafka producer

Stack Overflow ·

I'm using Kafka version 0.11.0.0 and trying to create an input stream by loading data from avro file.But it fails in instantiating the Producer with the exception: [main] INFO org.apache.kafka.clients.producer.KafkaProducer - Closing the Kafka producer with timeoutMillis = 0 ms. Exception in thread "main" org.apache.kafka.common.KafkaException: Failed to construct kafka producer at org.apache.kafka.clients.producer.KafkaProducer.<init>(KafkaProducer.java:415) at org.apache.kafka.clients.producer.KafkaProducer.<init>(KafkaProducer.java:287) at wordcount.PayloadProducer.produceInputs(PayloadProd

Comments

Sign in or sign up to comment and upvote.

No comments yet.