apache-kafkaconfluent-schema-registry

Failing to start confluent schema registry


I am trying to setup schema registry on my windows system, it is failing with the following error message:

Error: Could not find or load main class io.confluent.kafka.schemaregistry.rest.SchemaRegistryMain
Caused by: java.lang.ClassNotFoundException: io.confluent.kafka.schemaregistry.rest.SchemaRegistryMain

Tried a lot to figure out a reason, but feeling completely lost here.


Solution

  • The Schema Registry is not tested with Windows.

    This error you are seeing indicates that the CLASSPATH is not configured correctly. Source.

    Instead, it is recommended you use a Unix environment, such as WSL2, or Docker.