kafka.network.InvalidRequestException: Error getting request for apiKey: 18 and apiVersion: 0

Stack Overflow | JcMAX | 5 months ago
  1. 0

    kafka-python error getting request key

    Stack Overflow | 5 months ago | JcMAX
    kafka.network.InvalidRequestException: Error getting request for apiKey: 18 and apiVersion: 0
  2. 0

    Getting Invalid version for API key when writing a ProducerInterceptor.

    Google Groups | 2 months ago | Sagar Rao
    kafka.network.InvalidRequestException: Error getting request for apiKey: 3 and apiVersion: 2
  3. 0

    Confluent 3.0.1 with Kafka 0.10.1.0

    Google Groups | 1 month ago | Diego Irismar da Costa
    kafka.network.InvalidRequestException: Error getting request for apiKey: 3 and apiVersion: 2
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    outq_len() returns 1 for several minutes before it becomes to return 0

    GitHub | 1 month ago | muumu
    kafka.network.InvalidRequestException: Error getting request for apiKey: -12682 and apiVersion: -1
  6. 0

    Error getting request for apiKey: 3 and apiVersion: 2

    GitHub | 4 weeks ago | manugarri
    kafka.network.InvalidRequestException: Error getting request for apiKey: 3 and apiVersion: 2

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      Unexpected ApiKeys id `18`, it should be between `0` and `16` (inclusive)

      at org.apache.kafka.common.protocol.ApiKeys.forId()
    2. Apache Kafka
      AbstractRequest.getRequest
      1. org.apache.kafka.common.protocol.ApiKeys.forId(ApiKeys.java:69)
      2. org.apache.kafka.common.requests.AbstractRequest.getRequest(AbstractRequest.java:39)
      2 frames
    3. Apache Kafka
      Processor$$anonfun$run$11.apply
      1. kafka.network.RequestChannel$Request.liftedTree2$1(RequestChannel.scala:90)
      2. kafka.network.RequestChannel$Request.<init>(RequestChannel.scala:90)
      3. kafka.network.Processor$$anonfun$run$11.apply(SocketServer.scala:426)
      4. kafka.network.Processor$$anonfun$run$11.apply(SocketServer.scala:421)
      4 frames
    4. Scala
      AbstractIterable.foreach
      1. scala.collection.Iterator$class.foreach(Iterator.scala:742)
      2. scala.collection.AbstractIterator.foreach(Iterator.scala:1194)
      3. scala.collection.IterableLike$class.foreach(IterableLike.scala:72)
      4. scala.collection.AbstractIterable.foreach(Iterable.scala:54)
      4 frames
    5. Apache Kafka
      Processor.run
      1. kafka.network.Processor.run(SocketServer.scala:421)
      1 frame
    6. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)
      1 frame