org.apache.kafka.common.KafkaException: Failed to construct kafka producer

GitHub | ligadata-saleh | 8 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    PushSampleDataToKafka_XXXXXXX script is not working fine

    GitHub | 8 months ago | ligadata-saleh
    org.apache.kafka.common.KafkaException: Failed to construct kafka producer
  2. 0

    spark kafka security kerberos

    Stack Overflow | 7 months ago | A.GARMES
    java.lang.IllegalArgumentException: You must pass java.security.auth.login.config in secure mode.
  3. 0

    Producer program for Kafka kerborized environment not working

    Stack Overflow | 6 days ago | Justin
    org.apache.kafka.common.KafkaException: Failed to construct kafka producer
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      You must pass java.security.auth.login.config in secure mode.

      at org.apache.kafka.common.security.kerberos.Login.login()
    2. org.apache.kafka
      LoginManager.acquireLoginManager
      1. org.apache.kafka.common.security.kerberos.Login.login(Login.java:289)
      2. org.apache.kafka.common.security.kerberos.Login.<init>(Login.java:104)
      3. org.apache.kafka.common.security.kerberos.LoginManager.<init>(LoginManager.java:44)
      4. org.apache.kafka.common.security.kerberos.LoginManager.acquireLoginManager(LoginManager.java:85)
      4 frames
    3. Apache Kafka
      KafkaProducer.<init>
      1. org.apache.kafka.common.network.SaslChannelBuilder.configure(SaslChannelBuilder.java:55)
      2. org.apache.kafka.common.network.ChannelBuilders.create(ChannelBuilders.java:60)
      3. org.apache.kafka.clients.ClientUtils.createChannelBuilder(ClientUtils.java:79)
      4. org.apache.kafka.clients.producer.KafkaProducer.<init>(KafkaProducer.java:271)
      5. org.apache.kafka.clients.producer.KafkaProducer.<init>(KafkaProducer.java:181)
      5 frames
    4. com.ligadata.tools
      SimpleKafkaProducer$$anonfun$main$7$$anon$2.run
      1. com.ligadata.tools.SimpleKafkaProducer$$anonfun$main$7$$anon$2.run(SimpleKafkaProducer.scala:636)
      1 frame
    5. Scala Actors library
      ThreadPoolExecutor$Worker.run
      1. scala.actors.threadpool.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1060)
      2. scala.actors.threadpool.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:574)
      2 frames
    6. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)
      1 frame