org.apache.kafka.common.errors.TimeoutException: Failed to update metadata after 20 ms.

Google Groups | Hanna Lee | 6 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

    SchemaRegistryStoreException: Error while registering the schema in the backend Kafka store

    Google Groups | 6 months ago | Hanna Lee
    org.apache.kafka.common.errors.TimeoutException: Failed to update metadata after 20 ms.

    Root Cause Analysis

    1. org.apache.kafka.common.errors.TimeoutException

      Failed to update metadata after 20 ms. ; error code: 50001; error code: 50001

      at io.confluent.kafka.schemaregistry.client.rest.RestService.sendHttpRequest()
    2. io.confluent.kafka
      AvroMessageReader.readMessage
      1. io.confluent.kafka.schemaregistry.client.rest.RestService.sendHttpRequest(RestService.java:157)
      2. io.confluent.kafka.schemaregistry.client.rest.RestService.httpRequest(RestService.java:174)
      3. io.confluent.kafka.schemaregistry.client.rest.RestService.registerSchema(RestService.java:225)
      4. io.confluent.kafka.schemaregistry.client.rest.RestService.registerSchema(RestService.java:217)
      5. io.confluent.kafka.schemaregistry.client.rest.RestService.registerSchema(RestService.java:212)
      6. io.confluent.kafka.schemaregistry.client.CachedSchemaRegistryClient.registerAndGetId(CachedSchemaRegistryClient.java:57)
      7. io.confluent.kafka.schemaregistry.client.CachedSchemaRegistryClient.register(CachedSchemaRegistryClient.java:89)
      8. io.confluent.kafka.serializers.AbstractKafkaAvroSerializer.serializeImpl(AbstractKafkaAvroSerializer.java:50)
      9. io.confluent.kafka.formatter.AvroMessageReader.readMessage(AvroMessageReader.java:157)
      9 frames
    3. Apache Kafka
      ConsoleProducer.main
      1. kafka.tools.ConsoleProducer$.main(ConsoleProducer.scala:56)
      2. kafka.tools.ConsoleProducer.main(ConsoleProducer.scala)
      2 frames