org.apache.kafka.common.protocol.types.SchemaException: Error reading field 'topic_metadata': Error reading array of size 548723, only 36 bytes available

Google Groups | Imran Akbar | 5 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    downgrading to Kafka 0.9

    Google Groups | 5 months ago | Imran Akbar
    org.apache.kafka.common.protocol.types.SchemaException: Error reading field 'topic_metadata': Error reading array of size 548723, only 36 bytes available
  2. 0

    SchemaRegistryMain read error

    GitHub | 9 months ago | gitmahmud
    org.apache.kafka.common.protocol.types.SchemaException: Error reading field 'topic_metadata': Error reading array of size 1204063, only 1426 bytes available
  3. 0

    GitHub comment 338#222499411

    GitHub | 9 months ago | meetpradeepp
    org.apache.kafka.common.protocol.types.SchemaException: Error reading field 'topic_metadata': Error reading array of size 548723, only 74 bytes available
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    not able to consume message from Kafka using confluent platform

    Google Groups | 3 months ago | Unknown author
    org.apache.kafka.common.protocol.types.SchemaException: Error reading field 'brokers': Error reading field 'host': Error reading string of length 26992, only 9805 bytes available
  6. 0

    What is the difference between schema-registry-start of kafka_connect 1.0.1 and kafka_connect 3.0.1?

    GitHub | 5 months ago | Janaarthan
    org.apache.kafka.common.protocol.types.SchemaException: Error reading field 'brokers': Error reading field 'host': Error reading string of length 24947, only 114 bytes available

    6 unregistered visitors
    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. org.apache.kafka.common.protocol.types.SchemaException

      Error reading field 'topic_metadata': Error reading array of size 548723, only 36 bytes available

      at org.apache.kafka.common.protocol.types.Schema.read()
    2. Apache Kafka
      NetworkClient.poll
      1. org.apache.kafka.common.protocol.types.Schema.read(Schema.java:73)
      2. org.apache.kafka.clients.NetworkClient.parseResponse(NetworkClient.java:380)
      3. org.apache.kafka.clients.NetworkClient.handleCompletedReceives(NetworkClient.java:449)
      4. org.apache.kafka.clients.NetworkClient.poll(NetworkClient.java:269)
      4 frames
    3. org.apache.kafka
      Fetcher.getTopicMetadata
      1. org.apache.kafka.clients.consumer.internals.ConsumerNetworkClient.clientPoll(ConsumerNetworkClient.java:360)
      2. org.apache.kafka.clients.consumer.internals.ConsumerNetworkClient.poll(ConsumerNetworkClient.java:224)
      3. org.apache.kafka.clients.consumer.internals.ConsumerNetworkClient.poll(ConsumerNetworkClient.java:178)
      4. org.apache.kafka.clients.consumer.internals.Fetcher.getTopicMetadata(Fetcher.java:220)
      4 frames
    4. Apache Kafka
      KafkaConsumer.partitionsFor
      1. org.apache.kafka.clients.consumer.KafkaConsumer.partitionsFor(KafkaConsumer.java:1270)
      1 frame
    5. io.confluent.kafka
      SchemaRegistryRestApplication.setupResources
      1. io.confluent.kafka.schemaregistry.storage.KafkaStoreReaderThread.<init>(KafkaStoreReaderThread.java:107)
      2. io.confluent.kafka.schemaregistry.storage.KafkaStore.init(KafkaStore.java:154)
      3. io.confluent.kafka.schemaregistry.storage.KafkaSchemaRegistry.init(KafkaSchemaRegistry.java:187)
      4. io.confluent.kafka.schemaregistry.rest.SchemaRegistryRestApplication.setupResources(SchemaRegistryRestApplication.java:55)
      5. io.confluent.kafka.schemaregistry.rest.SchemaRegistryRestApplication.setupResources(SchemaRegistryRestApplication.java:37)
      5 frames
    6. io.confluent.rest
      Application.createServer
      1. io.confluent.rest.Application.createServer(Application.java:118)
      1 frame
    7. io.confluent.kafka
      SchemaRegistryMain.main
      1. io.confluent.kafka.schemaregistry.rest.SchemaRegistryMain.main(SchemaRegistryMain.java:43)
      1 frame