Robin Moffatt 12/2/2016

kafka-avro-console-producer - Error registering Avro schema / io.confluent.kafka.schemaregistry.client.rest.exceptions.RestClientException

Read Original

This article explains a specific error encountered when using the kafka-avro-console-producer: 'Error registering Avro schema' caused by a RestClientException. The error occurs because the producer defaults to port 8081 for the schema registry, which may be occupied. The post provides the exact error stack trace and the solution, which is to explicitly specify the correct schema registry URL using the --property schema.registry.url flag.

kafka-avro-console-producer - Error registering Avro schema / io.confluent.kafka.schemaregistry.client.rest.exceptions.RestClientException

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser

Top of the Week