kafka.network.InvalidRequestException

Error getting request for apiKey: 8 and apiVersion: 1

Solutions on the web14

  • via Apache's JIRA Issue Tracker by Magnus Edenhill, 11 months ago
    Error getting request for apiKey: 8 and apiVersion: 1
  • Error getting request for apiKey: 8 and apiVersion: 1
  • via GitHub by marshauf
    , 9 months ago
    Error getting request for apiKey: 8 and apiVersion: 2
  • Stack trace

    • kafka.network.InvalidRequestException: Error getting request for apiKey: 8 and apiVersion: 1 at kafka.network.RequestChannel$Request.liftedTree2$1(RequestChannel.scala:91) at kafka.network.RequestChannel$Request.<init>(RequestChannel.scala:88) at kafka.network.Processor$$anonfun$run$11.apply(SocketServer.scala:426) at kafka.network.Processor$$anonfun$run$11.apply(SocketServer.scala:421) at scala.collection.Iterator$class.foreach(Iterator.scala:727) at scala.collection.AbstractIterator.foreach(Iterator.scala:1157) at scala.collection.IterableLike$class.foreach(IterableLike.scala:72) at scala.collection.AbstractIterable.foreach(Iterable.scala:54) at kafka.network.Processor.run(SocketServer.scala:421) at java.lang.Thread.run(Thread.java:745) Caused by: org.apache.kafka.common.protocol.types.SchemaException: Error reading field 'topics': Error reading field 'partitions': Error reading field 'metadata': java.lang.NegativeArraySizeException at org.apache.kafka.common.protocol.types.Schema.read(Schema.java:73) at org.apache.kafka.common.requests.OffsetCommitRequest.parse(OffsetCommitRequest.java:260) at org.apache.kafka.common.requests.AbstractRequest.getRequest(AbstractRequest.java:50) at kafka.network.RequestChannel$Request.liftedTree2$1(RequestChannel.scala:88) ... 9 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    57 times, 4 months ago
    Unknown user
    Once, 8 months ago
    Unknown user
    Once, 10 months ago
    Unknown user
    Once, 11 months ago
    Unknown user
    Once, 11 months ago
    15 more bugmates