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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via kafka-dev by Apache Jenkins Server, 1 year ago
Error reading field 'brokers': Error reading field 'host': java.nio.BufferUnderflowException
via Stack Overflow by Wenzhong Tang
, 1 year ago
Error reading field 'brokers': Error reading field 'host': java.nio.BufferUnderflowException
via Stack Overflow by Balaji Krishnan
, 8 months ago
Error reading field 'throttle_time_ms': java.nio.BufferUnderflowException
via GitHub by superbool
, 1 year ago
Error reading field 'throttle_time_ms': java.nio.BufferUnderflowException
via GitHub by Shumkov
, 1 year ago
Error reading field 'throttle_time_ms': java.nio.BufferUnderflowException
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 kafka.api.ConsumerTest.consumeRecords(ConsumerTest.scala:274)

Users with the same issue

9 times, 2 weeks ago
57 times, 9 months ago
Samebug visitor profile picture
Unknown user
Once, 4 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.