org.apache.kafka.common.KafkaException: Failed to construct kafka producer at org.apache.kafka.clients.producer.KafkaProducer.<init>(KafkaProducer.java:321) at org.apache.kafka.clients.producer.KafkaProducer.<init>(KafkaProducer.java:181)

grokbase.com | 7 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    [Kafka-users] Doubt regarding Encryption and Authentication using SSL - Grokbase

    grokbase.com | 7 months ago
    org.apache.kafka.common.KafkaException: Failed to construct kafka producer at org.apache.kafka.clients.producer.KafkaProducer.<init>(KafkaProducer.java:321) at org.apache.kafka.clients.producer.KafkaProducer.<init>(KafkaProducer.java:181)

    Root Cause Analysis

    1. org.apache.kafka.common.KafkaException

      Failed to construct kafka producer at org.apache.kafka.clients.producer.KafkaProducer.<init>(KafkaProducer.java:321) at org.apache.kafka.clients.producer.KafkaProducer.<init>(KafkaProducer.java:181)

      at kafka.producer.NewShinyProducer.<init>()
    2. Apache Kafka
      ConsoleProducer.main
      1. kafka.producer.NewShinyProducer.<init>(BaseProducer.scala:36)
      2. kafka.tools.ConsoleProducer$.main(ConsoleProducer.scala:46)
      3. kafka.tools.ConsoleProducer.main(ConsoleProducer.scala)
      3 frames