org.apache.kafka.common.protocol.types.SchemaException: Error reading field 'brokers': Error reading field 'host': java.nio.BufferUnderflowException

kafka-dev | Apache Jenkins Server | 2 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Build failed in Jenkins: Kafka-trunk #401

    kafka-dev | 2 years ago | Apache Jenkins Server
    org.apache.kafka.common.protocol.types.SchemaException: Error reading field 'brokers': Error reading field 'host': java.nio.BufferUnderflowException

    Root Cause Analysis

    1. 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()
    2. Apache Kafka
      KafkaConsumer.poll
      1. org.apache.kafka.common.protocol.types.Schema.read(Schema.java:66)
      2. org.apache.kafka.clients.NetworkClient.handleCompletedReceives(NetworkClient.java:367)
      3. org.apache.kafka.clients.NetworkClient.poll(NetworkClient.java:217)
      4. org.apache.kafka.clients.NetworkClient.completeAll(NetworkClient.java:249)
      5. org.apache.kafka.clients.consumer.KafkaConsumer.fetchConsumerCoordinator(KafkaConsumer.java:1276)
      6. org.apache.kafka.clients.consumer.KafkaConsumer.discoverCoordinator(KafkaConsumer.java:1252)
      7. org.apache.kafka.clients.consumer.KafkaConsumer.ensureCoordinatorReady(KafkaConsumer.java:1229)
      8. org.apache.kafka.clients.consumer.KafkaConsumer.initiateCoordinatorRequest(KafkaConsumer.java:1189)
      9. org.apache.kafka.clients.consumer.KafkaConsumer.blockingCoordinatorRequest(KafkaConsumer.java:1207)
      10. org.apache.kafka.clients.consumer.KafkaConsumer.joinGroup(KafkaConsumer.java:982)
      11. org.apache.kafka.clients.consumer.KafkaConsumer.poll(KafkaConsumer.java:688)
      11 frames
    3. Apache Kafka
      ConsumerTest.testGroupConsumption
      1. kafka.api.ConsumerTest.consumeRecords(ConsumerTest.scala:274)
      2. kafka.api.ConsumerTest.testGroupConsumption(ConsumerTest.scala:109)
      2 frames