Getting error in schema-registry start command

+2 votes

I am getting error with below command:-


"bin/schema-registry-start config/schema-registry.properties"
getting error: "could not find or load main class io.confluent.kafka.schemaregistry.rest.SchemaRegistryMain"

How to solve this?

Jan 8, 2019 in Apache Kafka by slayer
• 29,300 points
1,186 views
same problem, and it seems there is no solving.
Hi@Mustafa,

Did you try the below-given solution?

2 answers to this question.

0 votes

Seems like you have not started Zookeeper and Kafka services properly. 

Execute the commands attached below in order.

Zookeeper:

./bin/zookeeper-server-start ./etc/kafka/zookeeper.properties &

Kafka start:

./bin/kafka-server-start ./etc/kafka/server.properties &

schema registery:

./bin/schema-registry-start ./etc/schema-registry/schema-registry.properties
answered Jan 8, 2019 by Omkar
• 69,030 points
By adding lib ,it is working fine .
+1 vote

It is working for me with below workaround  .  Please follow steps :-

1. Download confluet package . 

Use link :- https://www.confluent.io/download/#popup_form_3109 , select zip archive and download 

2. run below command :-  (can add listner and bootstrap ip accordingly in property file )

bin/schema-registry-start  etc/schema-registry/schema-registry.properties

answered Sep 30, 2019 by Brajkishore
• 220 points
Does this work in WINDOWS system
Are you talking about kafka in windows system?

Related Questions In Apache Kafka

0 votes
1 answer
0 votes
1 answer

Is there any change in consumer offsets if a new partition(s) is added to a Kafka topic?

Yes, it stays the same. An offset is ...READ MORE

answered Jul 9, 2018 in Apache Kafka by nitinrawat895
• 10,950 points
695 views
0 votes
1 answer

Re-balancing error while reading messages from Kafka.

rebalance.backoff.ms defines the time for which Kafka ...READ MORE

answered Jul 9, 2018 in Apache Kafka by Shubham
• 13,450 points
1,166 views
0 votes
1 answer

How to commit message offsets in Kafka for reliable data pipeline?

You can use auto.commit.enable to allow Kafka ...READ MORE

answered Jul 9, 2018 in Apache Kafka by Shubham
• 13,450 points
1,065 views
0 votes
1 answer

What is the optimum number of producers to create in Kafka?

In general, a single producer for all ...READ MORE

answered Jul 10, 2018 in Apache Kafka by nitinrawat895
• 10,950 points
3,531 views
+1 vote
1 answer

Hadoop Mapreduce word count Program

Firstly you need to understand the concept ...READ MORE

answered Mar 16, 2018 in Data Analytics by nitinrawat895
• 10,950 points
5,868 views
0 votes
1 answer

hadoop.mapred vs hadoop.mapreduce?

org.apache.hadoop.mapred is the Old API  org.apache.hadoop.mapreduce is the ...READ MORE

answered Mar 16, 2018 in Data Analytics by nitinrawat895
• 10,950 points
878 views
+1 vote
11 answers

hadoop fs -put command?

put syntax: put <localSrc> <dest> copy syntax: copyF ...READ MORE

answered Dec 7, 2018 in Big Data Hadoop by Aditya
36,988 views
–1 vote
1 answer

Hadoop dfs -ls command?

In your case there is no difference ...READ MORE

answered Mar 16, 2018 in Big Data Hadoop by kurt_cobain
• 9,320 points
2,194 views