org.apache.kafka.common.protocol.types.SchemaException

Error reading field 'brokers': Error reading field 'host': java.nio.BufferUnderflowException

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web56

  • via Unknown by Apache Jenkins Server,
  • via Unknown by sun,
  • via GitHub by gitmahmud
    ,
  • Stack trace

    • org.apache.kafka.common.protocol.types.SchemaException: Error reading field 'brokers': Error reading field 'host': java.nio.BufferUnderflowException at org.apache.kafka.common.protocol.types.Schema.read(Schema.java:66) at org.apache.kafka.clients.NetworkClient.handleCompletedReceives(NetworkClient.java:367) at org.apache.kafka.clients.NetworkClient.poll(NetworkClient.java:217) at org.apache.kafka.clients.NetworkClient.completeAll(NetworkClient.java:249) at org.apache.kafka.clients.consumer.KafkaConsumer.fetchConsumerCoordinator(KafkaConsumer.java:1276) at org.apache.kafka.clients.consumer.KafkaConsumer.discoverCoordinator(KafkaConsumer.java:1252) at org.apache.kafka.clients.consumer.KafkaConsumer.ensureCoordinatorReady(KafkaConsumer.java:1229) at org.apache.kafka.clients.consumer.KafkaConsumer.initiateCoordinatorRequest(KafkaConsumer.java:1189) at org.apache.kafka.clients.consumer.KafkaConsumer.blockingCoordinatorRequest(KafkaConsumer.java:1207) at org.apache.kafka.clients.consumer.KafkaConsumer.joinGroup(KafkaConsumer.java:982) at org.apache.kafka.clients.consumer.KafkaConsumer.poll(KafkaConsumer.java:688) at kafka.api.ConsumerTest.consumeRecords(ConsumerTest.scala:274) at kafka.api.ConsumerTest.testGroupConsumption(ConsumerTest.scala:109)

    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

    johnxflyjohnxfly
    57 times, last one
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    15 more bugmates